]> granicus.if.org Git - curl/commit
http: don't set CURLINFO_CONDITION_UNMET for http status code 204
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Mon, 10 Dec 2018 16:30:31 +0000 (17:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Dec 2018 12:22:42 +0000 (13:22 +0100)
commitc8bf8cc1e4e8f6e8c29b104a2bcc47c626e18081
tree3593b130195d80ca06ad17b9b876eb16d3c11266
parent1b443a7c00c1e5d2d0567d440f309cba5d69096b
http: don't set CURLINFO_CONDITION_UNMET for http status code 204

The http status code 204 (No Content) should not change the "condition
unmet" flag. Only the http status code 304 (Not Modified) should do
this.

Closes #359
lib/http.c