URI path starting with "//"

If user clicks a URL http://example.com//abc, the browser should send

    GET //abc HTTP/1.1
    Host: example.com

However the latest bis draft seems to forbid "origin-form" to start with "//"

http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21#section-5.3

    origin-form    = path-absolute [ "?" query ]

http://tools.ietf.org/html/rfc3986#section-3.3

    path-absolute   ; begins with "/" but not "//"

I couldn't find anything in RFC 3986 that accurately describe the path
part that we really want, which should be

    path-xxx = "/" *( "/" / pchar )

HTTP probably need to define this term. It'll also help people to
finally refer to this thingy with a proper name.

Zhong Yu

Received on Friday, 1 February 2013 18:38:05 UTC