Martin Panter added the comment:

Thanks to the fix for Issue 22233, now the response is parsed more sensibly, 
and the body can be read. The 0x85 byte now gets decoded with Latin-1:

>>> print(ascii(resp.getheader("Link")[:100]))
 rel="alternate"; hreflang="zh-Hans", <'

Here is a patch to document how to get the original bytes back (by “encoding” 
to Latin-1). Other than that, I don’t think there is much left to do for this 

keywords: +patch
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to