Skip to content

Conversation

paulharris
Copy link
Contributor

This resolves #920 ... keep the body empty if already empty. Compression adds compression headers and overhead, and breaks assumptions later on when processing (eg) error 404.

This resolves CrowCpp#920  ...  keep the body empty if already empty.  Compression adds compression headers and overhead, and breaks assumptions later on when processing (eg) error 404.
@paulharris paulharris closed this Oct 18, 2024
@paulharris paulharris deleted the patch-1 branch October 18, 2024 03:16
@paulharris paulharris restored the patch-1 branch October 18, 2024 03:16
@paulharris paulharris reopened this Oct 18, 2024
Copy link
Member

@gittiver gittiver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgwt.
For me this seems to be correct, i found nothing in the RFC speaking against it.

@gittiver gittiver merged commit 40c9aad into CrowCpp:master Oct 21, 2024
20 checks passed
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.

Compression should only be applied if body is empty
2 participants