Le jeudi 16 décembre 2010 à 16:14 +0800, Senthil Kumaran a écrit :
On Wed, Dec 15, 2010 at 11:29:27PM +0100, Antoine Pitrou wrote:
Well, I think the "most web servers" comment itself is outdated. Try e.g. www.mozilla.org or www.google.com or www.msn.com. (but www.python.org or www.apache.org still have the legacy behaviour)
What legacy behavior did you observe in these?
-> Request: xyzzy -> Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>405 Method Not Allowed</title> </head><body> <h1>Method Not Allowed</h1> <p>The requested method xyzzy is not allowed for the URL /.</p> <hr> <address>Apache/2.3.8 (Unix) mod_ssl/2.3.8 OpenSSL/1.0.0a Server at www.apache.org Port 80</address> </body></html> (notice how the response has no headers)