Skip to content

Commit e83487a

Browse files
committed
Allow x-gzip as MIME type for gzip files, fixes ahupp#96
1 parent 793eae4 commit e83487a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_mime_types(self):
5454
self.assert_values(m, {
5555
'magic._pyc_': 'application/octet-stream',
5656
'test.pdf': 'application/pdf',
57-
'test.gz': 'application/gzip',
57+
'test.gz': ('application/gzip', 'application/x-gzip'),
5858
'text.txt': 'text/plain',
5959
b'\xce\xbb'.decode('utf-8'): 'text/plain',
6060
b'\xce\xbb': 'text/plain',

0 commit comments

Comments
 (0)