EE10 ServletRequest.getProtocolRequestId()
impl not spec compliant when protocol is H1
#10656
Labels
Bug
For general bugs on Jetty side
Specification
For all industry Specifications (IETF / Servlet / etc)
Jetty version(s)
12.0.x
Jetty Environment
EE10
Description
The
jakarta.servlet.ServletRequest.getProtocolRequestId()
javadoc states that when the protocol is HTTP 1.x, the empty string should be returned.The implementation in
ServletApiRequest.getProtocolRequestId()
delegates the call toChannelRequest.getId()
, which got the ID fromHttpStreamOverHTTP1.getId()
, the latter always having some non-empty string.The text was updated successfully, but these errors were encountered: