Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't work with "gzip, deflate" #96

Open
tutorial0 opened this issue Feb 25, 2018 · 1 comment
Open

Can't work with "gzip, deflate" #96

tutorial0 opened this issue Feb 25, 2018 · 1 comment

Comments

@tutorial0
Copy link

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.

@ziscky
Copy link
Contributor

ziscky commented May 9, 2018

Hi, I've submitted PR #104 for this. Pretty straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants