surf
surf copied to clipboard
Can't work with "gzip, deflate"
When add http.header like this:
head := http.Header{}
head.Set("Accept", "*/*")
head.Set("Accept-Encoding", "gzip, deflate")
head.Set("Connection", "keep-alive")
bow.SetHeadersJar(head)
Then method Body
can only got garbled text like:
�Z�SW�<�W��Af����ĔF'�[)�jz���=v��C��D1�h⃨(����H4�A�Y�g�俰���s�l�R\�}���{��BߎG�?v�+c%�ا���d�D�@2y �;�A��a.�HqyMPtِUE(%�?�9
And many other method(like Title
, Links
) can't get expected results.
Hi, I've submitted PR #104 for this. Pretty straightforward.