Changeset [4b9fe6f78425cbb6bc2233aa2660f44046f353e0] by Andrew Dupont

December 28th, 2012 @ 10:26 PM

Merge pull request #88 from victor-homyakov/patch-32

Don’t send Ajax headers whose values are null.

This allows end users to opt out of X-Requested-With and X-Prototype-Version by explicitly setting them to null. (Use case: making a CORS Ajax request without a preflight request.)

Committed by Andrew Dupont

  • 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