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

gzip compression lost on gets #267

Open
squarewave24 opened this issue Oct 20, 2021 · 0 comments
Open

gzip compression lost on gets #267

squarewave24 opened this issue Oct 20, 2021 · 0 comments

Comments

@squarewave24
Copy link

when i simply do a GET / SEND all gzip compression gets lost..

restler.get(queryUrl).on("complete", (data, response: any) => {
    res.status(successStatus).send(data)

comparing headers in browser going direct or via Restler, the compression gets lost :(

is there a setting to propagate the compressed content?

direct:

content-encoding: gzip
content-length: 38587
content-type: text/html; charset=utf-8
server: gunicorn/19.9.0

restler:

Cache-Control: no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0
Connection: keep-alive
Content-Length: 870366
Content-Type: application/json; charset=utf-8
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

1 participant