-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media type for Upload Appending Procedure #2610
Comments
I looked through the list of registered media types (https://www.iana.org/assignments/media-types/media-types.xhtml) to find if there is a media type that represents a file chunk without any additional metadata. There is Is there anybody aware of another existing media type? If not, we can propose registering |
How about a dedicated The IANA registry of media types already includes a similar media type in the vendor tree from Adobe for use in one of their web applications: application/vnd.adobe.partial-upload |
My two cents: I would avoid the word "chunk" as it's been a source of confusion in tus. There is ambiguity if it refers to part of the upload, a whole request (containing parts of the file and not the whole thing), part of the content of the request etc. |
During IETF 117, it was noted that PATCH requests need to specify some media type, so our Upload Appending Procedure needs one as well. This could either be one from the byte range draft (#2501) or a custom one. For example, in the tus uploading protocol we use the content type
application/offset+octet-stream
to indicate that it is an undefined byte sequence that should be applied at a specific offset (as defined in the request).The text was updated successfully, but these errors were encountered: