Skip to content

Templated header entity error fix#3447

Merged
tomakehurst merged 3 commits into
masterfrom
templated-header-entity-error-fix
Jun 3, 2026
Merged

Templated header entity error fix#3447
tomakehurst merged 3 commits into
masterfrom
templated-header-entity-error-fix

Conversation

@tomakehurst

Copy link
Copy Markdown
Member

Fix three bugs (the second and third found incidentally while investigating the first):

  1. Exception thrown when the content-type header is templated, due to this not being eagerly resolvable to a valid mime type.
  2. Body compressed in an uncompressible format causes exception to be thrown when a LoggedResponse is created.
  3. Body that's compressed in an uncompressible format and therefore can't be templated is still converted to a string, thus corrupting it.

@tomakehurst tomakehurst requested a review from a team as a code owner June 3, 2026 19:37
@tomakehurst tomakehurst merged commit 610093c into master Jun 3, 2026
5 checks passed
@tomakehurst tomakehurst deleted the templated-header-entity-error-fix branch June 3, 2026 20:00
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.

1 participant