Reputation: 53
What if i give request where request line is in upper case & another request where request line is in lower case, does the server respond with same response in both the instances.
Upvotes: 0
Views: 543
Reputation: 41997
All parts of the request line are case-sensitive. Lowercasing the method name will make it a different (unknown) method. Lowercasing the protocol name will make the request invalid. Lowercasing the URL will make it a request for a different resource.
Upvotes: 3
Reputation: 42701
The URL is case sensitive. Unless your web server is running a case-insensitive operating system, or you have some rewriting going on with your web server. W3C would like them to be considered case sensitive.
Upvotes: 2