Changed it so that it's compatible regardless of which case Chrome returns the headers in.