mikekelly / hal-browser

An API browser for the hal+json media type
MIT License
835 stars 157 forks source link

Fix for $.ajaxSetup not working in Chrome. Usage is not recommended. #57

Closed lukestokes closed 9 years ago

lukestokes commented 9 years ago

This caused changes to custom request headers to be ignored. Calling ajaxSetup wasn't updating the headers used by the next AJAX call. The jQuery docs recommend not using ajaxSetup.

mikekelly commented 9 years ago

Nice one, thanks Luke