From c82c1691ee6b4351a049c4235ccced07db56c6bc Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 11 May 2005 09:56:53 +0000
Subject: [PATCH] the new HTTP headers

---
 CHANGES       | 29 +++++++++++++++++++++++++++++
 RELEASE-NOTES |  4 +++-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index 4343037c73..584386abb8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,35 @@
                                   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)
 - 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
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 8406d5a8be..1549b9b0df 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -11,6 +11,7 @@ Curl and libcurl 7.14.0
 
 This release includes the following changes:
 
+ o modified default HTTP request headers
  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 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:
 
+ o docs/THANKS now contains all known contributors
  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 --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,
  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)
-- 
GitLab