The diff in your GitHub account indicates the old code found with a pip install mimeparse.
The diff in your GitHub account indicates the old code found with a pip install mimeparse.