Re: Draft v1 Update for Resumable Uploads


>> ... 
>> I was trying to help you understand the resource/representation 
>> dichotomy of HTTP, particularly regarding PATCH, irrespective of the 
>> nature of your resource. There is not, and cannot be, any "generic" 
>> media type for the method in question, even if you're only appending -- 
>> application/octet-stream works for PUT. Not PATCH. Not in any way I can 
>> grok.
> ... 

> I disagree. 
> You can easily avoid this issue by enforcing that the uploaded resource 
> has a single representation.

Why I suggested FTP. But accepting what you said, wouldn't you also have to enforce PATCH = append to use application/octet-stream?


Received on Monday, 20 June 2022 06:06:10 UTC