PROXYHEADER: send these headers in "normal" proxy requests too
Updated the docs to clarify and the code accordingly, with test 1528 to verify: When CURLHEADER_SEPARATE is set and libcurl is asked to send a request to a proxy but it isn't CONNECT, then _both_ header lists (CURLOPT_HTTPHEADER and CURLOPT_PROXYHEADER) will be used since the single request is then made for both the proxy and the server.
Showing
- docs/libcurl/curl_easy_setopt.3 9 additions, 9 deletionsdocs/libcurl/curl_easy_setopt.3
- lib/http.c 94 additions, 54 deletionslib/http.c
- tests/data/Makefile.am 1 addition, 1 deletiontests/data/Makefile.am
- tests/data/test1528 60 additions, 0 deletionstests/data/test1528
- tests/libtest/Makefile.inc 5 additions, 1 deletiontests/libtest/Makefile.inc
- tests/libtest/lib1528.c 72 additions, 0 deletionstests/libtest/lib1528.c
Loading
Please register or sign in to comment