Jeff Allen added the comment:

I worked out that the essence of the test is to insert an extra \n at the end 
of a GET request line. The request is syntactically invalid for HTTP. The 
\n\r\n appears like two blank lines, implying no headers, but the headers then 
follow where no data should be. The server is supposed to respond with status 
501, because it does not, in fact, define a GET operation.

To find the replacement test plausible you have to accept that, with a server 
that doesn't define GET, the verb may as well be XYZBOGUS. Since the security 
filter doesn't understand that verb either (unlike GET), it doesn't interfere 
in the test.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to