1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00
gallery-dl/gallery_dl/downloader
Mike Fährmann 115fd2c6f2
"fix" incomplete MIME types (#632)
e-/exhentai's original image downloads currently send
incomplete/invalid Content-Type headers, "jpg" instead
of "image/jpg" etc, since the last update.
(https://forums.e-hentai.org/index.php?showtopic=236113)

This change prepends any Content-Type value missing a
media type specification with "image/", transforming it
into a valid MIME type.

(A global solution to a local problem, but it shouldn't
 cause any issues anywhere else)
2020-03-03 21:21:57 +01:00
..
__init__.py improve find() for downloaders and postprocessors 2019-07-15 16:33:03 +02:00
common.py [downloader:common] enable 'job'/'extractor' for logging messages 2020-01-12 21:41:16 +01:00
http.py "fix" incomplete MIME types (#632) 2020-03-03 21:21:57 +01:00
text.py [downloader] overhaul http and text modules 2019-06-19 22:56:11 +02:00
ytdl.py [downloader:ytdl] forward proxy settings 2019-11-05 16:16:26 +01:00