on avoiding X-Requested-With
¶ by !undefinedA 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 OPTIONS
request.
Leave a Reply