Skip to content

Commit e7860c3

Browse files
committed
passed test this time
1 parent 19cde54 commit e7860c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/http/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def guess_type(self, path):
895895
base, ext = posixpath.splitext(path)
896896
guess = self.extensions_map.get(ext,
897897
self.extensions_map.get(ext.lower(),
898-
mimetypes.guess_type(path)))
898+
mimetypes.guess_type(path)[0]))
899899
return guess or self.default_content_type
900900

901901

0 commit comments

Comments
 (0)