diff options
| author | Adam Hupp <adam@hupp.org> | 2018-08-14 17:02:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-14 17:02:04 -0700 |
| commit | 8be8d6b3bea1cc8869e192c1753372de35c9e285 (patch) | |
| tree | 34c1e09f44c2a115f99c7eca1beb3919de01693f | |
| parent | 793eae408828ff5cfc5bf6830cdaa991b5a9a7cc (diff) | |
| parent | e83487a20bacd4f9b33d0478861671bf79468f59 (diff) | |
| download | python-magic-8be8d6b3bea1cc8869e192c1753372de35c9e285.tar.gz | |
Merge pull request #176 from sbraz/x-gzip
Allow x-gzip as MIME type for gzip files, fixes #96
| -rwxr-xr-x | test/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py index e29335f..e3ee703 100755 --- a/test/test.py +++ b/test/test.py @@ -54,7 +54,7 @@ class MagicTest(unittest.TestCase): self.assert_values(m, { 'magic._pyc_': 'application/octet-stream', 'test.pdf': 'application/pdf', - 'test.gz': 'application/gzip', + 'test.gz': ('application/gzip', 'application/x-gzip'), 'text.txt': 'text/plain', b'\xce\xbb'.decode('utf-8'): 'text/plain', b'\xce\xbb': 'text/plain', |
