You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Content-Encoding from the client isn't recognized, the server should reject the request with "415 Unsupported Media Type".
We currently reject Content-Encoding during HttpServletRequest.getParameter*() method calls with a "501 Unsupported Content-Encoding", which is incorrect.
Jetty version
9.4.31
Description
Per https://tools.ietf.org/html/rfc7694
If the
Content-Encoding
from the client isn't recognized, the server should reject the request with "415 Unsupported Media Type".We currently reject
Content-Encoding
duringHttpServletRequest.getParameter*()
method calls with a "501 Unsupported Content-Encoding", which is incorrect.https://github.com/eclipse/jetty.project/blob/ba22c08fde5362fe2e89e9c417d2a90658c74283/jetty-server/src/main/java/org/eclipse/jetty/server/Request.java#L517-L519
We should return the proper status code "415 Unsupported Media Type" at least during the Request.getParameter*() method calls.
The text was updated successfully, but these errors were encountered: