]> granicus.if.org Git - curl/commit
http: allow overriding timecond with custom header
authorPeter Simonyi <pts@petersimonyi.ca>
Wed, 10 Jul 2019 22:42:35 +0000 (18:42 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 14 Jul 2019 14:17:15 +0000 (16:17 +0200)
commit855887af7928d70a2938b7c9c750a0c237c47c15
tree615789bd873a7166126fd2489bd17bd2264a5dc4
parentac3d19a26de79d9ec62d20a1a0b645d7ddcc40fd
http: allow overriding timecond with custom header

With CURLOPT_TIMECONDITION set, a header is automatically added (e.g.
If-Modified-Since).  Allow this to be replaced or suppressed with
CURLOPT_HTTPHEADER.

Fixes #4103
Closes #4109
lib/http.c
lib/http.h
lib/rtsp.c
tests/data/Makefile.inc
tests/data/test1593 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1593.c [new file with mode: 0644]