-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support zero length uploads #196
Comments
Yes, Upload-Length can be 0. The spec only requires the header to be non-negative, so 0 is explicitly included.
|
I can not find it in Creation of Protocol Extensions, but I can see it in Patch Protocol. Shall we fill it in Creation of Protocol Extensions? |
We can add a statement to explain that zero-length uploads are explicitly allowed, yes. |
Empty uploads with `Upload-Length: 0` were previously already allowed but this PR explicitly mentions them and provides more context on how to handle them. This change is based on a question from #196.
@bluetianx Would the changes in #197 have helped you understand this? |
Empty uploads with `Upload-Length: 0` were previously already allowed but this PR explicitly mentions them and provides more context on how to handle them. This change is based on a question from #196.
For sure, Thank you @Acconut |
if UploadLength is set to zero without setting IsUploadDeferLength to true, is this case reasonable in Creation of Protocol Extensions? I do not find detail about that
The text was updated successfully, but these errors were encountered: