found drama

get oblique

on avoiding X-Requested-With

by !undefined

A worthwhile read, “Solving the OPTIONS Performance Issue With Single Page Apps” talks a bit about the history of XHR, the origin of the X-Requested-With header, and how/why you should prefer an Accept header for content negotiation. In particular, they focus on the performance implications of non-standard/custom headers like X-Requested-With, and how it results in an extra OPTIONS request.

About !undefined

Syndicated content from the !undefined Tumblr blog where Rob Friesel posts items related to software engineering, user interface/experience design, and Agile software development. Lots of JavaScript here. View all posts by !undefined →

Leave a Reply

Your email address will not be published. Required fields are marked *