IIS Server Variables: underscore and dash
Here's a little weirdness that I discovered this week. (I think this may just apply to ASP Classic but I'm not 100% sure).
I was writing some ASP Classic that reads some information from HTTP headers (which are put into the request from a mobile application). For some reason, the data wasn't showing up:
Turns out that the server replaces underscores with dashes. At first, this was just a wild guess on my part, but luckily it worked out.
A bit annoying, but I guess I learned something new!