Skip to content

Http response: compressed flag can't not be set to false? #848

@D-Latch

Description

@D-Latch

Hi in this issue 'Added HTTP compression using gzip or deflate #93' you said:
'I think for now it's best to disable gzip when streaming a response (whether it's static files or large responses), maybe will be added with websocket compression'

No matter how I set 'compressed' flag to false I still find header 'Content-Encoding' in my response. So I assumed that the authentic response returned is not the one I define but the one that is copied from it. Thus I thought compressed flag might forgot to be set in the copy-construct function and finally I got this:

2024-07-10_10-40

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdiscussionThe viability / implementation of the issue is up for debate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions