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

[stable16] Check the actual status code for 204 and 304 #15724

Merged
merged 1 commit into from
May 25, 2019

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #15714

The header is the full http header like: HTTP/1.1 304 Not Modified
So comparing this to an int always yields false
This also makes the 304 RFC compliant as the resulting content length
should otherwise be the length of the message and not 0.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@ChristophWurst ChristophWurst added the 4. to release Ready to be released and/or waiting for tests to finish label May 24, 2019
@rullzer rullzer merged commit 38bbfe7 into stable16 May 25, 2019
@rullzer rullzer deleted the backport/15714/stable16 branch May 25, 2019 08:19
@rullzer rullzer mentioned this pull request Jun 24, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants