]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Restructure generation of HTTP requests. Allow headers specified with
[wget] / src / ChangeLog
index 0140bbd4b077429a145f4ae97e7eba41dc9c2abf..12931071c3cb2eedaa1b49d1368777f97950eea5 100644 (file)
@@ -1,3 +1,21 @@
+2003-11-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cookies.c (cookie_header): Only generate the contents of the
+       header, not the leading "Cookie: " or the trailing "\r\n".
+
+       * http.c (gethttp): When adding headers specified with `--header',
+       allow them to override the headers generated by Wget.
+
+       * init.c (cmd_spec_header): Made opt.user_headers a vector.
+
+       * http.c (request_new): New function.  Returns a request structure
+       which can be modified in various ways, most notably by adding HTTP
+       headers to the request.
+       (request_set_header): New function for adding the header to the
+       request.  If the header is already available, it gets replaced.
+       (request_send): Construct and send the request.
+       (gethttp): Use the request_* functions to generate the request.
+
 2003-11-28  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * http.c (gethttp): Don't include the Proxy-Authorization header