Skip to content
Permalink
Browse files

docs($http): display the actual default `Accept` header

  • Loading branch information
gkalpak committed Oct 7, 2016
1 parent 34434cf commit b3a3ed34b9c9d965233c0adc4fd4605fbe7c05d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ng/http.js
@@ -481,7 +481,7 @@ function $HttpProvider() {
* object, which currently contains this default configuration:
*
* - `$httpProvider.defaults.headers.common` (headers that are common for all requests):
* - `Accept: application/json, text/plain, * / *`
* - <code>Accept: application/json, text/plain, \*&#65279;/&#65279;\*</code>
* - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)
* - `Content-Type: application/json`
* - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)

0 comments on commit b3a3ed3

Please sign in to comment.
You can’t perform that action at this time.