Add support for puremagic for guess_mimetype
Review Request #14091 — Created Aug. 8, 2024 and submitted
If a system has no "file" binary it is sometimes easier and faster to install "puremagic" from pypi. So let's try puremagic if we cannot find "file".
Removed "file" binary from system and saw that "rbt post" won't upload
images like png/jpg because guess_mimetype cannot detect it.
Installed puremagic from pypi and saw that images can be uploaded again.
Summary | ID |
---|---|
85d9c478093030340c85c31da63d3c64833fa3e8 |
Description | From | Last Updated |
---|---|---|
This is a neat module. I like the idea. I think David was looking into some other tool that could … |
chipx86 |
- Commits:
-
Summary ID e2c76f9d97ed3dae6ed0483ddbd957340ce01070 85d9c478093030340c85c31da63d3c64833fa3e8 - Diff:
-
Revision 2 (+10)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.