Modified the default HTTP headers used by libcurl:
A) Normal non-proxy HTTP: - no more "Pragma: no-cache" (this only makes sense to proxies) B) Non-CONNECT HTTP request over proxy: - "Pragma: no-cache" is used (like before) - "Proxy-Connection: Keep-alive" (for older style 1.0-proxies) C) CONNECT HTTP request over proxy: - "Host: [name]:[port]" - "Proxy-Connection: Keep-alive"
Showing
- lib/http.c 143 additions, 66 deletionslib/http.c
- tests/data/test1 0 additions, 1 deletiontests/data/test1
- tests/data/test10 0 additions, 1 deletiontests/data/test10
- tests/data/test11 0 additions, 2 deletionstests/data/test11
- tests/data/test12 0 additions, 1 deletiontests/data/test12
- tests/data/test13 0 additions, 1 deletiontests/data/test13
- tests/data/test14 0 additions, 1 deletiontests/data/test14
- tests/data/test15 0 additions, 1 deletiontests/data/test15
- tests/data/test150 0 additions, 2 deletionstests/data/test150
- tests/data/test151 0 additions, 1 deletiontests/data/test151
- tests/data/test152 0 additions, 1 deletiontests/data/test152
- tests/data/test153 0 additions, 4 deletionstests/data/test153
- tests/data/test154 0 additions, 2 deletionstests/data/test154
- tests/data/test155 0 additions, 3 deletionstests/data/test155
- tests/data/test156 0 additions, 1 deletiontests/data/test156
- tests/data/test157 0 additions, 1 deletiontests/data/test157
- tests/data/test158 0 additions, 1 deletiontests/data/test158
- tests/data/test159 0 additions, 2 deletionstests/data/test159
- tests/data/test16 1 addition, 0 deletionstests/data/test16
- tests/data/test160 0 additions, 2 deletionstests/data/test160
Loading
Please register or sign in to comment