diff options
author | Thomas Kluyver <takowl@gmail.com> | 2013-03-11 16:42:34 +0000 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2013-03-11 16:42:34 +0000 |
commit | d834e48ad1a5be42db8dd1d6a28302f344ac19c1 (patch) | |
tree | 9f705bfcb4d23224e67a185e2c88eee22dd35bb9 /test | |
parent | 0d606b302d40ae5f3a273e454426102bf1822dc0 (diff) |
Handle unknown MIME magic rules
Diffstat (limited to 'test')
-rw-r--r-- | test/resources.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/resources.py b/test/resources.py index 6633c91..da9df1f 100644 --- a/test/resources.py +++ b/test/resources.py @@ -468,6 +468,8 @@ mime_magic_db = b"""MIME-Magic\0 [10:application/madeup] >0=\0\x05ab cd +[10:application/imaginary] +>0=\0\x03abc¬unhandled_future_field """ png_data = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x01\x00\x00\x00\x01\x08\x06\x00\x00\x00\x1f\x15\xc4\x89\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x00\rIDAT\x08\x99c\xf8\x7f\x83\xe1?\x00\x07\x88\x02\xd7\xd9\n\xd8\xdc\x00\x00\x00\x00IEND\xaeB`\x82' |