]> jfr.im git - yt-dlp.git/commit - test/test_networking.py
[core] Improve HTTP redirect handling (#7094)
authorcoletdjnz <redacted>
Sat, 27 May 2023 07:06:13 +0000 (19:06 +1200)
committerGitHub <redacted>
Sat, 27 May 2023 07:06:13 +0000 (07:06 +0000)
commit08916a49c777cb6e000eec092881eb93ec22076c
tree7ed5b19bd12e959abafbe0adda4e749543318197
parent66468bbf49562ff82670cbbd456c5e8448a6df34
[core] Improve HTTP redirect handling (#7094)

Aligns HTTP redirect handling with what browsers commonly do and RFC standards.

Fixes issues https://github.com/yt-dlp/yt-dlp/commit/afac4caa7db30804bebac33e53c3cb0237958224 missed.

Authored by: coletdjnz
test/test_YoutubeDL.py
test/test_http.py
yt_dlp/utils/_utils.py