[compat] Rework compat for `method` parameter of `compat_urllib_request.Request`...
authordirkf <fieldhouse@gmx.net>
Sat, 20 Jan 2024 18:28:52 +0000 (18:28 +0000)
committerdirkf <fieldhouse@gmx.net>
Mon, 22 Jan 2024 11:10:34 +0000 (11:10 +0000)
commit66518714169185195a359e173cef73fba31d76b8
treed617f6a28fa9b579ff9e85bbd520127ca1fdac58
parentbe008e657d79832642e2158557c899249c9e31cd
[compat] Rework compat for `method` parameter of `compat_urllib_request.Request` constructor
* fixes #32573
* does not break `utils.HEADrequest` (eg)
test/test_compat.py
youtube_dl/compat.py