You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/11/02 18:09:27 UTC
[jira] [Updated] (USERGRID-982) Support for /filename.ext for
Binary Assets
[ https://issues.apache.org/jira/browse/USERGRID-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey updated USERGRID-982:
------------------------------
Sprint: Major
> Support for /filename.ext for Binary Assets
> -------------------------------------------
>
> Key: USERGRID-982
> URL: https://issues.apache.org/jira/browse/USERGRID-982
> Project: Usergrid
> Issue Type: Story
> Reporter: Jeffrey
>
> 1. The Accept header should be inferred from the filename extension if it exists
> 2. Assets should support retrieval by passing either the original filename or "asset" if it is unknown. Any extension should also be ignored (the content-type header will be set to the original asset)
> E.g. the following should all work:
> GET /pictures/cat/original_file_name
> GET /pictures/cat/original_file_name.jpg
> GET /pictures/cat/asset
> GET /pictures/cat/asset.jpg
> 3. DELETE/PUT should also be supported for the /asset path as well, e.g.:
> DELETE /pictures/cat/original_file_name
> DELETE /pictures/cat/asset
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)