Some browsers send crippled content-type headers when it comes to XHR, catch them...