Re: HTTP URI in the form of "http://example.com?query"

On 2013-06-04 01:04, Zhong Yu wrote:
> The question is whether this is a valid HTTP URI:
>
>      http://example.com?query
>
> According to RFC2616, it is invalid, a slash before the question mark
> is mandatory(i.e. http://example.com/?query)
>
> According to the latest bis draft, it is valid. The draft adopts the
> generic URI syntax of RFC, which permits this kind of URI.
>
> Any reason for this spec change? It seems risky; some old programs may
> not be able to accept such URIs.
> ...

And then, others do.

Do you have any evidence of things breaking?

In general, I prefer consistency in edge cases like these.

Best regards, Julian

Received on Tuesday, 4 June 2013 06:53:20 UTC