Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89b070 commit ee23e37Copy full SHA for ee23e37
Lib/test/test_httpservers.py
@@ -489,6 +489,9 @@ def test_get(self):
489
self.check_status_and_reason(response, HTTPStatus.NOT_FOUND)
490
response = self.request('/' + 'ThisDoesNotExist' + '/')
491
492
+ os.makedirs(os.path.join(self.tempdir, 'spam', 'index.html'))
493
+ response = self.request(self.base_url + '/spam/')
494
+ self.check_status_and_reason(response, HTTPStatus.OK)
495
496
data = b"Dummy index file\r\n"
497
with open(os.path.join(self.tempdir_name, 'index.html'), 'wb') as f:
0 commit comments