Re: Draft v1 Update for Resumable Uploads

Am 20.06.2022 um 08:05 schrieb Eric J Bowman:
>  >
>  >> ...
>  >> 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?

I think it would be clearer to use a new type.

Best regards, Julian

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