user3352632
user3352632

Reputation: 667

Is http:// considered as a URI with scheme http and an empty path?

Is http:// considered as a URI with an empty path? So that http is the scheme and // is a path value (with an empty path), so that it would be a valid URI.

Upvotes: 0

Views: 256

Answers (1)

Luke Ramsden
Luke Ramsden

Reputation: 734

See RFC 3986, section 3:

The scheme and path components are required, though the path may be empty (no characters)

Hope that answers your question.

(found here)

Upvotes: 1

Related Questions