Skip to content
Unverified Commit b0c030cb authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by Morris Jobke
Browse files

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: default avatarRoeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 96d1921b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment