mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[cleanup] Misc (#8182)
Closes #7796, Closes #8028 Authored by: barsnick, sqrtNOT, gamer191, coletdjnz, Grub4K, bashonly
This commit is contained in:
		| @@ -337,7 +337,7 @@ def handle_sslerror(e: ssl.SSLError): | ||||
| 
 | ||||
| def handle_response_read_exceptions(e): | ||||
|     if isinstance(e, http.client.IncompleteRead): | ||||
|         raise IncompleteRead(partial=e.partial, cause=e, expected=e.expected) from e | ||||
|         raise IncompleteRead(partial=len(e.partial), cause=e, expected=e.expected) from e | ||||
|     elif isinstance(e, ssl.SSLError): | ||||
|         handle_sslerror(e) | ||||
|     elif isinstance(e, (OSError, EOFError, http.client.HTTPException, *CONTENT_DECODE_ERRORS)): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly