-
Enhancement
-
Resolution: Done
-
Major
-
7.0.8.GA, 7.1.0.GA
-
None
EAP 6 and 7 have a difference in a handling of HTTP/1.0 requests. EAP 6 returns a protocol of HTTP/1.1 for HTTP/1.0 requests, but EAP 7 returns HTTP/1.0.
- EAP 6 $ curl --http1.0 --dump-header - http://localhost:8080/test/test.jsp HTTP/1.1 200 OK - EAP 7 $ curl --http1.0 --dump-header - http://localhost:8080/test/test.jsp HTTP/1.0 200 OK
According jbossweb and RFC, it seems better to use HTTP/1.1 for a response.
http://docs.jboss.org/jbossweb/7.0.x/config/http.html
RFC 2616 requires that HTTP servers always begin their responses with the highest HTTP version that they claim to support. Therefore, this Connector will always return HTTP/1.1 at the beginning of its responses.
https://tools.ietf.org/html/rfc7230
A server SHOULD send a response version equal to the highest version
to which the server is conformant that has a major version less than
or equal to the one received in the request.
- clones
-
UNDERTOW-1220 Handling HTTP/1.0 protocol
- Resolved
- is incorporated by
-
JBEAP-14823 [GSS](7.1.z) Upgrade Undertow from 1.4.18.SP7 to 1.4.18.SP8
- Closed
- relates to
-
JBEAP-14845 [EAT] : Adding a testcase for JBEAP-13594 in EAT in order to be tested with all the servers.
- Closed