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

datagateway: zero content-length when swallowing body #1904

Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jul 20, 2021

When swallowing the body the Content-Lenght needs to be set to 0 to prevent proxies from reading the body.

part of owncloud/ocis#2248

@butonic butonic requested a review from labkode as a code owner July 20, 2021 19:33
@butonic
Copy link
Contributor Author

butonic commented Jul 20, 2021

@C0rby @micbar this might affect response codes when using the ocis proxy. As in correct 409 instead of a 5xx

@labkode labkode merged commit 4fbf2b6 into cs3org:master Jul 21, 2021
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

Successfully merging this pull request may close these issues.

2 participants