On 12/8/2010 9:27 PM, Dean Michael Berris wrote: > On Thu, Dec 9, 2010 at 1:23 PM, Raindog<[email protected]> wrote: > > Hello, > > > > I discovered that when using a url such as > > "http://www.example.com:8080", that the HTTP header will only contain: > > > > Host: www.example.com > > > > When it should contain (at least according to Curl and .NET) the > > non-default port after it. such as: > > > > Host: www.example.com:8080 > > > > Interesting. This looks like a bug to me. Can you file it in > https://github.com/cpp-netlib/cpp-netlib/issues ? > > > > > Thanks. > > > > P.S. > > > > I got my file uploader working.. Took a while to test everything because > > of various build issues, but all is done. > > > > Cool, thanks for letting us know! > > 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. ------------------------------------------------------------------------------ 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
