canjs / can-ajax

jQuery-inspired AJAX request library.
https://canjs.com/doc/can-ajax.html
MIT License
5 stars 7 forks source link

ajax() additional request headers support #30

Closed luxee closed 6 years ago

luxee commented 6 years ago

Useful for auth tokens located in request headers

pYr0x commented 6 years ago

i implemented the same behaviour. the only difference is, that i use the same method like jquery.

thanks for the PR