Skip to content

Conversation

@glenne
Copy link
Contributor

@glenne glenne commented Aug 25, 2023

Not sure why it was copying request headers to the response so I took that out altogether. Response headers should be determined by the server and not parroted from the client. For example, Accept-Encoding and Content-Encoding should be set by the server and not the client as it was before. With removal of the blind copy of request headers, I added explicit setting of Content-Encoding for the gzip ifdef case and added a test to verify it was set.

@bsergean bsergean merged commit 28832f8 into machinezone:master Sep 1, 2023
@bsergean
Copy link
Contributor

bsergean commented Sep 1, 2023

looking good, thanks @glenne

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

Successfully merging this pull request may close these issues.

2 participants