We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 977d05c commit 6785049Copy full SHA for 6785049
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