Skip to content

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

Merged
normanmaurer merged 1 commit into
4.1from
h_41
Jan 9, 2026
Merged

normanmaurer merged 1 commit into
4.1from
h_41

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 4.1.131.Final milestone Jan 9, 2026
@normanmaurer
normanmaurer merged commit 0cbc8fb into 4.1 Jan 9, 2026
@normanmaurer
normanmaurer deleted the h_41 branch January 9, 2026 14:45
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