We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cc6a4e commit 2d893ccCopy full SHA for 2d893cc
src/ng/http.js
@@ -290,8 +290,9 @@ function $HttpProvider() {
290
* with the lowercased HTTP method name as the key, e.g.
291
* `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }.
292
*
293
- * Additionally, the defaults can be set at runtime via the `$http.defaults` object in the same
294
- * fashion.
+ * The defaults can also be set at runtime via the `$http.defaults` object in the same
+ * fashion. In addition, you can supply a `headers` property in the config object passed when
295
+ * calling `$http(config)`, which overrides the defaults without changing them globally.
296
297
298
* # Transforming Requests and Responses
0 commit comments