Hi all, I have a problem archiving a website using wget 1.10.2. It sends back cookies in an incorrect syntax (the line ends in "cookie_name="). Here is the relevant wget --debug output:
=== BEGIN OUTPUT === ---response begin--- HTTP/1.1 302 Moved Temporarily Date: Sat, 11 Feb 2006 03:58:47 GMT Server: Apache/1.3.28 (Unix) mod_jk/1.2.3-dev mod_ssl/2.8.15 OpenSSL/0.9.7c Set-Cookie: ok_test=test; Path= Set-Cookie: ok_iptest=272.14.207.99; Path= Location: http://myhost/?cookie_test=1 Connection: close Content-Type: text/plain ---response end--- 302 Moved Temporarily Error in Set-Cookie, field `Path'Syntax error in Set-Cookie: ok_test=test; Path= at position 19. Error in Set-Cookie, field `Path'Syntax error in Set-Cookie: ok_iptest=272.14.207.99; Path= at position 29. === END OUTPUT === This is a case that all the major browsers seem to be able to handle fine. Is there any way around this (short of, e.g., debugging wget or writing my own proxy in Python to modify these bad cookie header lines)? Thanks in advance!