Hacker News new | ask | show | jobs
by wahnfrieden 4773 days ago
Think about it, the host server gets the path string raw, it's up to it how to interpret it.
1 comments

Ideally, it would do a redirect to the ‘canonical’ resource (all lowercase, e.g.), so that the browser only has to cache stuff once – but that would take another request at least once. Is there some way for the server to serve the content and redirect in the same reply? As in ‘Here’s your picture, but it is really called foo.jpg rather than FOO.jpg’?