You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft's MVC framework uses a request header of "X-Requested-With" = "XMLHttpRequest" to determine whether a request is an "AJAX" request. jQuery also follow this paradigm.
The text plugin converts all headers to lower case, breaking the default detection mechanism.
Is there any reason why all headers are converted to lower case ?
The text was updated successfully, but these errors were encountered:
HTTP headers are supposed to be case-insensitive according to the RFCs for that part of the protocol, so it should not matter what the case is. If the casing is important for a particular server, you could use the onXhr hook to set the header manually:
Microsoft's MVC framework uses a request header of "X-Requested-With" = "XMLHttpRequest" to determine whether a request is an "AJAX" request. jQuery also follow this paradigm.
The text plugin converts all headers to lower case, breaking the default detection mechanism.
Is there any reason why all headers are converted to lower case ?
The text was updated successfully, but these errors were encountered: