mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[core] Deprecate internal Youtubedl-no-compression header (#6876)
				
					
				
			Authored by: coletdjnz
This commit is contained in:
		| @@ -45,8 +45,8 @@ class HttpFD(FileDownloader): | ||||
|         ctx.tmpfilename = self.temp_name(filename) | ||||
|         ctx.stream = None | ||||
| 
 | ||||
|         # Do not include the Accept-Encoding header | ||||
|         headers = {'Youtubedl-no-compression': 'True'} | ||||
|         # Disable compression | ||||
|         headers = {'Accept-Encoding': 'identity'} | ||||
|         add_headers = info_dict.get('http_headers') | ||||
|         if add_headers: | ||||
|             headers.update(add_headers) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 coletdjnz
					coletdjnz