Changeset [2811f40a464b69274f407a3e39ce0e08584f39bd] by Victor Homyakov

December 27th, 2012 @ 11:36 AM

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-... and https://prototype.lighthouseapp.com/projects/8886/tickets/1590-abil...
https://github.com/samleb/prototype/commit/2811f40a464b69274f407a3e...

Committed by Victor Homyakov

  • M src/prototype/ajax/request.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins