Fix upload must return HTTP 201