You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, an empty sequence of bytes is uploaded, and the Upload-Length header is added to a PATCH request.
This usage of setting Upload-Length for PATCH isn't mentioned in the TUS spec (https://tus.io/protocols/resumable-upload.html); the only use of Upload-Length mentioned in the core protocol is in the server's response to the HEAD request, and in protocol extensions (which aren't about PATCH).
So I wanted to ask if that was intentional, and if yes, what effect it has. Are you using it to signal to some server (which one) that no more PATCHes will follow?
Hi, I noticed this:
tus.py/tus.py
Lines 245 to 246 in 73437c8
Here, an empty sequence of bytes is uploaded, and the
Upload-Length
header is added to aPATCH
request.This usage of setting
Upload-Length
forPATCH
isn't mentioned in the TUS spec (https://tus.io/protocols/resumable-upload.html); the only use ofUpload-Length
mentioned in the core protocol is in the server's response to theHEAD
request, and in protocol extensions (which aren't aboutPATCH
).So I wanted to ask if that was intentional, and if yes, what effect it has. Are you using it to signal to some server (which one) that no more
PATCH
es will follow?It seems the change was added here: 522bda4#diff-c3f5c01a348e29bf07085b011c57af115f1d1da912541d97d57db0783dad43b0R224
The text was updated successfully, but these errors were encountered: