mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-13 16:08:29 +00:00
Merge ad355fdc65
into f2919bd28e
This commit is contained in:
commit
42d8b35649
@ -133,7 +133,7 @@ def real_download(self, filename, info_dict):
|
||||
'\r\n'
|
||||
f'--{frag_boundary}\r\n'
|
||||
'Content-Type: text/html; charset=utf-8\r\n'
|
||||
f'Content-Length: {len(stub)}\r\n'
|
||||
f'Content-Length: {len(stub.encode())}\r\n'
|
||||
'\r\n'
|
||||
f'{stub}\r\n').encode())
|
||||
extra_state['header_written'] = True
|
||||
|
Loading…
Reference in New Issue
Block a user