diff -r 66d0f6ef2a7f Lib/test/test_httpservers.py --- a/Lib/test/test_httpservers.py Thu Feb 28 18:03:16 2013 +0200 +++ b/Lib/test/test_httpservers.py Wed Mar 06 11:05:01 2013 -0500 @@ -249,6 +249,9 @@ #constructs the path relative to the root directory of the HTTPServer response = self.request(self.tempdir_name + '/test') self.check_status_and_reason(response, 200, data=self.data) + # check for trailing "/" which should return 404. See Issue17324 + response = self.request(self.tempdir_name + '/test/') + self.check_status_and_reason(response, 404, data=self.data) response = self.request(self.tempdir_name + '/') self.check_status_and_reason(response, 200) response = self.request(self.tempdir_name)