Permalink
Browse files
docs($http): display the actual default `Accept` header
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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, \*/\*</code> |
|
|
* - `$httpProvider.defaults.headers.post`: (header defaults for POST requests) |
|
|
* - `Content-Type: application/json` |
|
|
* - `$httpProvider.defaults.headers.put` (header defaults for PUT requests) |
|
|
|