Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handlers: Add
/new-upload/{cId}
, edit /get/{cId}/{oId}
Add a new POST request `/new-upload/{cId}` that accepts the `X-Attribute-JSON` header. Also, modify GET and HEAD requests `/get/{cId}/{oId}` to return all custom `X-Attribute-*` attributes in the `X-Attribute-JSON` header. Note: Need to fix the `useJSON` parameter in the `/get/{cId}/{oId}` request. Perhaps pass an extra parameter like `download`? Signed-off-by: Tatiana Nesterenko <[email protected]>
- Loading branch information