Skip to content

gzip compression lost on gets #267

@squarewave24

Description

@squarewave24

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions