Last active
December 19, 2015 06:29
-
-
Save lahmatiy/5911586 to your computer and use it in GitHub Desktop.
Returns extra request headers for basis.net.Transport that sending prior to 0.9.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
basis.require('basis.net'); | |
basis.net.AjaxTransport.prototype.requestHeaders['X-Requested-With'] = 'XMLHttpRequest'; | |
basis.net.AjaxTransport.prototype.requestHeaders['X-Powered-By'] = 'basis.js'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment