Closed ro-i closed 2 years ago
Hi :) This PR lets the matrix bridge handle mime-types of files without the python-magic library by using the response object of the HTTP request. See here for the discussion. Please review :)
python-magic
The code LGTM. Probably just needs a live bridge test for confirmation, which I assume you have done so?
Yeah, I did some manual testing with a few files :)
Merged, thanks @ro-i and @rht!
Hi :) This PR lets the matrix bridge handle mime-types of files without the
python-magic
library by using the response object of the HTTP request. See here for the discussion. Please review :)