Skip to content

feat(netty-codec-http): more standard http content types (#16036) - #16122

Merged
normanmaurer merged 1 commit into
5.0from
h_50
Jan 9, 2026
Merged

normanmaurer merged 1 commit into
5.0from
h_50

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

To add more standard http content type values.
For reference:
https://www.iana.org/assignments/media-types/media-types.xhtml

For example, Netty defines text/css and text/html but not
text/javascript.

Modification:

Add new constants to HttpHeaderValues defining more standard http
content types.
I moved APPLICATION_X_WWW_FORM_URLENCODED down a few lines to be
alphabetical.

Result:

New constants to HttpHeaderValues defining more standard http content
types.


Please cherry pick into 4.1 and 5.0.
Thank you!

Co-authored-by: Norman Maurer [email protected]

Motivation:

To add more standard http content type values. 
For reference:
https://www.iana.org/assignments/media-types/media-types.xhtml

For example, Netty defines `text/css` and `text/html` but not
`text/javascript`.

Modification:

Add new constants to `HttpHeaderValues` defining more standard http
content types.
I moved `APPLICATION_X_WWW_FORM_URLENCODED` down a few lines to be
alphabetical.

Result:

New constants to `HttpHeaderValues` defining more standard http content
types.

----

Please cherry pick into 4.1 and 5.0.
Thank you!

Co-authored-by: Norman Maurer <[email protected]>
@normanmaurer normanmaurer added this to the 5.0.0.Final milestone Jan 9, 2026
@normanmaurer
normanmaurer merged commit 0c62bf4 into 5.0 Jan 9, 2026
@normanmaurer
normanmaurer deleted the h_50 branch January 9, 2026 16:51
@normanmaurer normanmaurer mentioned this pull request Sep 22, 2026
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