Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

in IE, the "X-Requested-With" header of jquery becomes "x-requested-with" (lowercase)

Why it is converting to lowercase? In Firefox it goes as: "X-Requested-With". While in IE, it goes as: "x-requested-with"

like image 505
Sabya Avatar asked Jul 15 '09 09:07

Sabya


1 Answers

The HTTP method is supposed to be case-sensitive, but the HTTP headers are supposed to be case-insensitive, according to RFC 2616.

like image 163
Kieran Hall Avatar answered Sep 27 '22 18:09

Kieran Hall