Kaydet (Commit) 36d99dcf authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.4

...@@ -333,7 +333,7 @@ class SimpleHTTPServerTestCase(BaseTestCase): ...@@ -333,7 +333,7 @@ class SimpleHTTPServerTestCase(BaseTestCase):
response = self.request('/', method='FOO') response = self.request('/', method='FOO')
self.check_status_and_reason(response, 501) self.check_status_and_reason(response, 501)
# requests must be case sensitive,so this should fail too # requests must be case sensitive,so this should fail too
response = self.request('/', method='get') response = self.request('/', method='custom')
self.check_status_and_reason(response, 501) self.check_status_and_reason(response, 501)
response = self.request('/', method='GETs') response = self.request('/', method='GETs')
self.check_status_and_reason(response, 501) self.check_status_and_reason(response, 501)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment