mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
mime-types uses filenames, which is a terrible and inaccurate strategy to infer mime types (example: "a.mp4" can be "application/mp4" or "audio/mp4" before it's "video/mp4"). Added support for `marcel` and `filemagic`, which both support magic bytes detection strategy. Fixes #171