Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach HTTP Headers to Ajax calls on RESTAdapter #997

Closed
wants to merge 2 commits into from
Closed

Attach HTTP Headers to Ajax calls on RESTAdapter #997

wants to merge 2 commits into from

Conversation

rtablada
Copy link
Contributor

This is a solution to issue #803.

This simplifies the process of initializing the hash as well as allowing users to set an RESTAdapter.ajaxHeaders object which will be merged to be sent as the settings argument to jQuery.ajax

The user is unable to override any data traditionally set by the old "hash" argument as the hash argument overwrites conflicting values in RESTAdapter.ajaxHeaders by utilizing jQuery.extend

@rtablada
Copy link
Contributor Author

For some reason, cherry pick did not work. I will need to go back and remove the added adapter. Only note diff from commit dca0d96. Will fix tomorrow morning.

@rtablada rtablada closed this May 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant