diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-05-24 13:00:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-05-24 15:18:32 +0200 |
commit | b0c030cbb58dca4b2d5ba12a98d073587ec6ad3a (patch) | |
tree | eb6195d5e40e58cba4be2923199bb0c3001309cc /.github | |
parent | 96d1921bb343066ee57e3f763fedf2d3811fc702 (diff) | |
download | nextcloud-server-b0c030cbb58dca4b2d5ba12a98d073587ec6ad3a.tar.gz nextcloud-server-b0c030cbb58dca4b2d5ba12a98d073587ec6ad3a.zip |
Check the actual status code for 204 and 304
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>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions