mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-12 13:54:28 +00:00
[rh:curl_cffi] Add actual reason to response (#16818)
Authored by: antorlovsky
This commit is contained in:
parent
83564f85db
commit
37a8c6f42b
@ -92,7 +92,8 @@ class CurlCFFIResponseAdapter(Response):
|
||||
fp=CurlCFFIResponseReader(response),
|
||||
headers=response.headers,
|
||||
url=response.url,
|
||||
status=response.status_code)
|
||||
status=response.status_code,
|
||||
reason=response.reason)
|
||||
|
||||
def read(self, amt=None):
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user