httpprotocolsspecificationsrfc2616

Are URIs case-insensitive?


When comparing two URIs to decide if they match or not, a client
SHOULD use a case-sensitive octet-by-octet comparison of the entire
URIs, with these exceptions:

I read above Sentence in Http Rfc I think Url is case-insensitive but i dont undrestand what that means ?


Solution

  • In reality it depends on the web server.

    IIS is not case sensitive.

    Apache is.

    I suspect that the decision regarding IIS is rooted in the fact that the Windows file system is not case sensitive.

    IIS still meets that portion of the spec because SHOULD is a recommendation, not a requirement.