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

[Bug]: gzip compression unsupported #146

Open
1 task done
MonsterDeveloper opened this issue Jan 19, 2024 · 0 comments
Open
1 task done

[Bug]: gzip compression unsupported #146

MonsterDeveloper opened this issue Jan 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MonsterDeveloper
Copy link

What happened?

Currently, gzip compressed responses show up in httpie Desktop as <binary data>. This is very limiting, especially since some APIs compress all responses by default, making interacting with them using the httpie Desktop impossible.

Steps to reproduce?

1. Launch the app.
2. Make a `GET` request to `https://httpbin.org/gzip`
3. See `<binary data>` in the response tab

What did you expect to happen?

I expected to see actual text of the response. httpie CLI works just fine:

$ http GET https://httpbin.org/gzip
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 216
Content-Type: application/json
Date: Fri, 19 Jan 2024 14:54:05 GMT
Server: gunicorn/19.9.0

{
    "gzipped": true,
    "headers": {
        "Accept": "*/*",
        "Accept-Encoding": "gzip, deflate",
        "Host": "httpbin.org",
        "User-Agent": "HTTPie/3.2.2",
        "X-Amzn-Trace-Id": "Root=1-65aa8d0d-302edcec1dc18c1a31aca4e2"
    },
    "method": "GET",
    "origin": "213.30.232.122"
}

Platform

macOS

HTTPie Desktop version

2024.1.2

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@MonsterDeveloper MonsterDeveloper added the bug Something isn't working label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant