https://bugzilla.wikimedia.org/show_bug.cgi?id=21617
Marcin Cieślak <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED URL|http://wikitech.wikimedia.o |http://wikitech.wikimedia.o |rg/ |rg/view/Main_Page Resolution|WORKSFORME | --- Comment #2 from Marcin Cieślak <[email protected]> 2011-01-22 20:41:56 UTC --- 1) Well, the problem happens when w3m (or any other browser) follows this very redirect. I have updated the URL on this bug to reflect this. Sorry, I wasn't specific enough. 2) You have a space after "text" before "/*". If this is changed, the bug is easily reproduced with curl as well (I have added option to avoid proxies): curl -v -H "User-Agent: w3m/0.5.2" --noproxy "*" \ -H "Accept: text/html, text/*; q=0.5, image/*" \ -H "Accept-Encoding: gzip, compress, bzip, bzip2, deflate" \ -H "Accept-Language: en; q=1.0" \ http://wikitech.wikimedia.org/view/Main_Page * About to connect() to wikitech.wikimedia.org port 80 (#0) * Trying 207.192.72.124... connected * Connected to wikitech.wikimedia.org (207.192.72.124) port 80 (#0) > GET /view/Main_Page HTTP/1.1 > Host: wikitech.wikimedia.org > User-Agent: w3m/0.5.2 > Accept: text/html, text/*; q=0.5, image/* > Accept-Encoding: gzip, compress, bzip, bzip2, deflate > Accept-Language: en; q=1.0 > < HTTP/1.1 406 Not Acceptable < Date: Sat, 22 Jan 2011 20:38:34 GMT < Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g < Alternates: {"view.php" 1 {type application/x-httpd-php} {length 65}} < Content-Length: 524 < Content-Type: text/html; charset=iso-8859-1 < <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>406 Not Acceptable</title> </head><body> <h1>Not Acceptable</h1> <p>An appropriate representation of the requested resource /view/Main_Page could not be found on this server.</p> Available variants: <ul> <li><a href="view.php">view.php</a> , type application/x-httpd-php</li> </ul> <hr> <address>Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g Server at wikitech.wikimedia.org Port 80</address> </body></html> * Connection #0 to host wikitech.wikimedia.org left intact * Closing connection #0 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
