In this particular case, no.  The binary content is either POSTed as the
body of the request or in a multipart/related form with an atom entry in
one part and the binary in the other.  Posting from a form is not
enabled, but we could do so.  The slug from the Content-Disposition is
coming from the filename parameter.

- James

Bill de hÓra wrote:
> James M Snell wrote:
>> Our implementation is currently allowing clients to use the Slug header
>> to specify the filename for posted media files.  For example,
>>
>>   POST /collection-uri HTTP/1.1
>>   Host: example.org
>>   Content-Type: image/png
>>   Content-Length: nnn
>>   Title: Foo
>>   Slug: foo.png
>>
>> The slug is only used to set the file name.  As a fallback, users can
>> also use the Content-Disposition header to specify the filename.
> 
> Does that work via a regular browser form?
> 
> cheers
> Bill
> 

  • Slug James M Snell
    • Re: Slug Bill de hÓra
      • Re: Slug James M Snell

Reply via email to