Skip to content

Avoid applying default Content-Type: text/html; charset=utf-8 header - #7

Merged
clue merged 1 commit into
mainfrom
content-type
Feb 10, 2021
Merged

Avoid applying default Content-Type: text/html; charset=utf-8 header#7
clue merged 1 commit into
mainfrom
content-type

Conversation

@clue

@clue clue commented Feb 10, 2021

Copy link
Copy Markdown
Owner

This changeset makes sure we do not apply a default Content-Type: text/html; charset=utf-8 response header unless explicitly given. This covers existing behavior and additionally removes the default ; charset=utf-8 (or default_charset) parameter.

We may want to revisit this in the future to ensure we apply (more?) sensible defaults.

Builds on top of #3 and one step closer to #1

@clue clue added the new feature New feature or request label Feb 10, 2021
@clue
clue merged commit e438803 into clue:main Feb 10, 2021
@clue
clue deleted the content-type branch February 10, 2021 07:36
@SimonFrings SimonFrings added this to the v0.1.0 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants