Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs($http): clarify side effects of transformRequest functions #11503

Closed

Conversation

pkozlowski-opensource
Copy link
Member

Closes #11438

'X-MY_HEADER': 'abcd'
});
}
return angular.isObject(data) ? angular.toJson(data) : data;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be shortened to just return data, or just insert ... since it's not the main point of the example

@Narretz
Copy link
Contributor

Narretz commented Apr 3, 2015

Otherwise LGTM

@pkozlowski-opensource
Copy link
Member Author

Thnx for the review @Narretz - will fix things up and merge!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: cannot extend headers in requestTransform fn
3 participants