1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-27 11:17:40 +00:00
youtube-dl/youtube_dl
Johannes Knoedtel 3d5f7a3947 [utils] Prevent override of custom headers.
The dict of headers of request objects in urllib has its keys always
capitalized.

This causes the lookup to fail and overwrite the header. If for example
a Extractor tries to add a "User-Agent" header the internal
representation in the request object is "User-agent". The header is
therefore clobbered by the "User-Agent" in std_headers, because the
strings are not equal.
2015-01-12 22:38:51 +01:00
..
downloader check for overwriting files in the downloader (fixes #3916, closes #3829) 2015-01-11 12:02:27 +01:00
extractor [npo] Remove unused import 2015-01-11 23:43:09 +01:00
postprocessor [ffmpeg] Call encodeFilename on filenames 2015-01-10 06:13:18 +01:00
__init__.py [YoutubeDL] Add new --call-home option for debugging 2015-01-10 21:02:27 +01:00
__main__.py [test_unicode_literals] Arm unicode_literals check 2014-11-26 20:01:22 +01:00
aes.py [test_unicode_literals] Arm unicode_literals check 2014-11-26 20:01:22 +01:00
cache.py [cache] Fix writing to paths with unicode characters 2014-11-19 00:02:24 +01:00
compat.py [compat] Correct socket error class reference 2015-01-11 10:47:39 +01:00
jsinterp.py Update jsinterp.py 2014-11-21 17:09:22 +08:00
options.py [options] Add --no-call-home 2015-01-10 21:09:18 +01:00
swfinterp.py Fix imports and general cleanup 2014-12-13 12:35:45 +01:00
update.py Add new option --source-address 2015-01-10 19:56:51 +01:00
utils.py [utils] Prevent override of custom headers. 2015-01-12 22:38:51 +01:00
version.py release 2015.01.11 2015-01-11 17:47:04 +01:00
YoutubeDL.py check for overwriting files in the downloader (fixes #3916, closes #3829) 2015-01-11 12:02:27 +01:00