Message221859
| Author | Claudiu.Popa |
|---|
| Recipients | Claudiu.Popa, ezio.melotti, fwierzbicki, jeff.allen, orsenthil, python-dev, r.david.murray, terry.reedy |
|---|
| Date | 2014-06-29.16:28:49 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <1404059330.3.0.174434645917.issue20155@psf.upfronthosting.co.za> |
|---|
| In-reply-to | |
|---|
| Content |
|---|
Terry is right, this patch doesn't completely work. But with this fix the problem is solved:diff -r394e6bda5a70Lib/test/test_httpservers.py--- a/Lib/test/test_httpservers.py Sun Jun 29 15:56:21 2014 +0300+++ b/Lib/test/test_httpservers.py Sun Jun 29 19:27:16 2014 +0300@@ -306,7 +306,7 @@ response = self.request('/', method='FOO') self.check_status_and_reason(response, 501) # requests must be case sensitive,so this should fail too- response = self.request('/', method='get')+ response = self.request('/', method='gets') self.check_status_and_reason(response, 501) response = self.request('/', method='GETs') self.check_status_and_reason(response, 501) |
|