change the way to treat HTTP headers