When producing URI/URL strings follow spec and produce lowercase schemes and drop default ports #11414
Labels
Bug
For general bugs on Jetty side
Specification
For all industry Specifications (IETF / Servlet / etc)
Jetty version(s)
12.0.6
Jetty Environment
All
Java version/vendor
(use: java -version)
Any
OS type/version
Any
Description
The URI spec says that we should accept form of case when we read a scheme, but should produce lowercase schemes.
The spec also says that the port is optional, and the scheme specific specs for HTTP and websocket says similar things.
URI Specs
HTTP/HTTPS scheme specific specs
Websocket scheme specific specs
We should strive to produce proper URIs where we can.
The text was updated successfully, but these errors were encountered: