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

This commit is contained in:
Georgios Kalpakas
2016-10-07 18:27:01 +03:00
parent 34434cf528
commit b3a3ed34b9
+1 -1
View File
@@ -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)