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

not working when response is encoded in gzip format #303

Closed
r0ckYr opened this issue Jun 9, 2021 · 1 comment · Fixed by #307 or #314
Closed

not working when response is encoded in gzip format #303

r0ckYr opened this issue Jun 9, 2021 · 1 comment · Fixed by #307 or #314
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone

Comments

@r0ckYr
Copy link

r0ckYr commented Jun 9, 2021

echo https://redacted | httpx -verbose

[DBG] Failure 'https://redacted': gzip: invalid header

Example req/resp:-

GET / HTTP/1.1
Host: {{Hostname}}
User-Agent: httpx - Open-source project (github.com/projectdiscovery/httpx)
Accept-Charset: utf-8
Accept-Encoding: gzip, deflate
Connection: close
HTTP/1.1 404 Not Found
Date: Tue, 15 Jun 2021 06:51:21 GMT
Content-Type: text/html;charset=iso-8859-1
Content-Length: 316
Connection: close
Access-Control-Allow-Origin: *
Content-Encoding: gzip
Cache-Control: must-revalidate,no-cache,no-store
Server: Jetty(9.3.2.v20150730)
@ehsandeep ehsandeep added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jun 15, 2021
@ehsandeep ehsandeep added this to the v1.1.0 milestone Jun 15, 2021
@Mzack9999 Mzack9999 self-assigned this Jun 16, 2021
@Mzack9999 Mzack9999 added the Status: In Progress This issue is being worked on, and has someone assigned. label Jun 16, 2021
@Mzack9999 Mzack9999 linked a pull request Jun 16, 2021 that will close this issue
@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Status: In Progress This issue is being worked on, and has someone assigned. labels Jun 17, 2021
@ehsandeep ehsandeep linked a pull request Jun 24, 2021 that will close this issue
@ehsandeep
Copy link
Member

@r0ckYr this is now fixed in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
3 participants