On Thu, Dec 9, 2010 at 3:29 PM, Raindog <[email protected]> wrote: > > I also had an issue with some headers not being able to be removed w/ > the remove_header directive nor w/ request.remove_header. After some > digging it turns out that the headers I wanted to remove are hard coded > to be added. Thingslike: > > Connection: Close > > and > > Accept-Encoding > > During my debugging I was trying to recreate some known working HTTP > requests and the working requests did not have those headers so I wanted > to remove them but couldn't. Turns out that it did work with them added > so it wasn't a big deal. >
Is this 0.8? The Connection header AFAIK is required in HTTP requests. In HTTP/1.1 the Accept-Encoding header tells the server to actually just send data encoded a certain way. In 0.9 this should change. Please file issues at https://github.com/cpp-netlib/cpp-netlib/issues so that we can track this appropriately. -- Dean Michael Berris deanberris.com ------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ Cpp-netlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
