- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is

used. It has been used since forever but it was never a good idea to use
  unless explicitly asked for.
This commit is contained in:
Daniel Stenberg
2008-11-19 22:00:14 +00:00
parent 4741e64c89
commit 40e8b4e527
54 changed files with 10 additions and 87 deletions

View File

@@ -60,14 +60,12 @@ http://deathstar.another.galaxy/184 -L -H "Host: another.visitor.stay.a.while.st
<protocol>
GET http://deathstar.another.galaxy/184 HTTP/1.1
User-Agent: curl/7.12.2-CVS (i686-pc-linux-gnu) libcurl/7.12.2-CVS OpenSSL/0.9.6b zlib/1.1.4 libidn/0.4.6
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive
Host: another.visitor.stay.a.while.stay.foreeeeeever
GET http://yet.another.host/184 HTTP/1.1
Host: yet.another.host
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive