Please sign in to comment.
Possibility to remove X-* headers for CORS request
`setRequestHeaders()` unconditionally adds specific headers to any request. This patch gives possibility to remove these headers in order to allow simple CORS request. Based on http://stackoverflow.com/questions/13814739/prototype-ajax-request-being-sent-as-options-rather-than-get-results-in-501-err and https://prototype.lighthouseapp.com/projects/8886/tickets/1590-ability-to-remove-headers-in-ajaxrequestsetrequestheaders-for-cors
- Loading branch information...