docs($http): display the actual default Accept header
This commit is contained in:
+1
-1
@@ -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, \*/\*</code>
|
||||
* - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)
|
||||
* - `Content-Type: application/json`
|
||||
* - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)
|
||||
|
||||
Reference in New Issue
Block a user