1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

the new HTTP headers

This commit is contained in:
Daniel Stenberg 2005-05-11 09:56:53 +00:00
parent 364562f209
commit c82c1691ee
2 changed files with 32 additions and 1 deletions

29
CHANGES
View File

@ -7,6 +7,35 @@
Changelog Changelog
Daniel (11 May 2005)
- Starting now, libcurl sends a little different set of headers in its default
HTTP requests:
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"
The A) case is mostly to reduce the default header size and remove a
pointless header.
The B) is to address (rare) problems with HTTP 1.0 proxies
The C) headers are both to address (rare) problems with some proxies. The
code in libcurl that deals with CONNECT requests need a rewrite, but it
feels like a too big a job for me to do now. Details are added in the code
comments for now.
Updated a large amount of test cases to reflect the news.
Version 7.14.0-pre1 (9 May 2005)
Daniel (2 May 2005) Daniel (2 May 2005)
- Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At - Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At
least it should no longer cause a compiler error. However, it does not have least it should no longer cause a compiler error. However, it does not have

View File

@ -11,6 +11,7 @@ Curl and libcurl 7.14.0
This release includes the following changes: This release includes the following changes:
o modified default HTTP request headers
o curl --trace-time added for time stamping trace logs o curl --trace-time added for time stamping trace logs
o curl now respects the SSL_CERT_DIR and SSL_CERT_PATH environment variables o curl now respects the SSL_CERT_DIR and SSL_CERT_PATH environment variables
o more search paths for curl's default .curlrc config file check o more search paths for curl's default .curlrc config file check
@ -19,6 +20,7 @@ This release includes the following changes:
This release includes the following bugfixes: This release includes the following bugfixes:
o docs/THANKS now contains all known contributors
o builds out-of-the-box on (presumably ipv6-enabled) AIX 4.3 hosts o builds out-of-the-box on (presumably ipv6-enabled) AIX 4.3 hosts
o curl --head could wrongly complain on bad chunked-encoding o curl --head could wrongly complain on bad chunked-encoding
o --interface SIGSEGVed on a bad address o --interface SIGSEGVed on a bad address
@ -47,6 +49,6 @@ advice from friends like these:
Christophe Legry, Cory Nelson, Gisle Vanem, Dan Fandrich, Toshiyuki Maezawa, Christophe Legry, Cory Nelson, Gisle Vanem, Dan Fandrich, Toshiyuki Maezawa,
Olivier, Andres Garcia, Dave Dribin, Alex Suykov, Cory Nelson, Fred New, Olivier, Andres Garcia, Dave Dribin, Alex Suykov, Cory Nelson, Fred New,
Paul Moore, Alexander Zhuravlev, Bryan Henderson Paul Moore, Alexander Zhuravlev, Bryan Henderson, Jeremy Brown
Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)