ahupp/python-magic — pull request #70 by yangjuven (2014-12-04 10:04:13+00:00)
Title: fix MAGIC_MIME_TYPE value

In https://github.com/file/file/blob/master/src/magic.h.in#L44 , the macro are defined as follows:

```C
#define MAGIC_MIME_TYPE 0x000010 /* Return the MIME type */
#define MAGIC_MIME_ENCODING 0x000400 /* Return the MIME encoding */
#define MAGIC_MIME (MAGIC_MIME_TYPE|MAGIC_MIME_ENCODING)
```

But in https://github.com/ahupp/python-magic/blob/master/magic.py#L279 , variables are defined as follows:

```python
MAGIC_MIME = 0x000010 # Return a mime string

MAGIC_MIME_ENCODING = 0x000400 # Return the MIME encoding
```

So is this a bug? Fix it:

```python
MAGIC_MIME_TYPE = 0x000010 # Return a MIME type

MAGIC_MIME_ENCODING = 0x000400 # Return the MIME encoding

MAGIC_MIME = MAGIC_MIME_TYPE | MAGIC_MIME_ENCODING
```