Skip to content
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

allow Transfer-Encoding: chunked when using PUT? #702

Open
butonic opened this issue Apr 30, 2020 · 0 comments
Open

allow Transfer-Encoding: chunked when using PUT? #702

butonic opened this issue Apr 30, 2020 · 0 comments

Comments

@butonic
Copy link
Contributor

butonic commented Apr 30, 2020

Currently we require PUT requests to have a Content-Length: https://github.com/butonic/reva/blob/c79ca8c607207b3564eb61976470e3f8c198328b/internal/http/services/owncloud/ocdav/put.go#L194

But there might be requests without a Content-Length when using Transfer-Encoding: chunked.

When using tus we can actually indicate that this is allowed using the creation-defer-length in the list of supported extensions. For normal PUT ... this is legacy ... hm we may need to consider this case when fixing cs3org/cs3apis#71

@butonic butonic mentioned this issue Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant