]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_cb_hdr: only parse etag + content-disposition for 2xx
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Feb 2024 18:24:50 +0000 (19:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Feb 2024 22:40:33 +0000 (23:40 +0100)
commit75d79a4486b279100209ddf8c7fdb12955fb66e9
tree23dcaa21149510f88b85e147430d9a2ae0fd4b50
parent5cc2b016c36aaf5a08e2feb7c068fca5bb0a8052
tool_cb_hdr: only parse etag + content-disposition for 2xx

... and ignore them for other response codes.

Reported-by: Harry Sintonen
Closes #12866
src/tool_cb_hdr.c