mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-13 05:47:35 +01:00
f141fefab7
The server serves malformed header "Content Type: text/xml" for the XML request (it should be Content-Type but not Content Type). Python 3.x, which uses email.feedparser rejects such headers. As a result, Content-Encoding header is not parsed, so the returned content is kept not decompressed, and thus XML parsing error.