Adrian Maire Adrian Maire - 28 days ago 19
HTTP Question

Which are the specific `URL` requirements for `HTTP`/`HTTPS`? (other than normal RFC3986)?

Which are the specific

URL
requirements for
HTTP
/
HTTPS
?

It seem obvious that the scheme shall be
http
|
https
(after relative path replacement), but, what are the other requirements additional to RFC3986 which it must follow?

Note: Reading at the RFC7230, I found the URL definition either deprecated or difficult to relate correctly with modern URL specification.

Related sources:


Joe Joe
Answer

The HTTP URI scheme is defined in RFC 7230 2.7.1, which refers to the syntax defined in RFC 3986.

I found the URL definition either deprecated or difficult to relate correctly with modern URL specification.

See the WHATWG URL Standard for a definition of URLs designed to:

Align RFC 3986 and RFC 3987 with contemporary implementations and obsolete them in the process.