Skip to content

Commit b3a3ed3

Browse files
committed
docs($http): display the actual default Accept header
1 parent 34434cf commit b3a3ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function $HttpProvider() {
481481
* object, which currently contains this default configuration:
482482
*
483483
* - `$httpProvider.defaults.headers.common` (headers that are common for all requests):
484-
* - `Accept: application/json, text/plain, * / *`
484+
* - <code>Accept: application/json, text/plain, \*&#65279;/&#65279;\*</code>
485485
* - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)
486486
* - `Content-Type: application/json`
487487
* - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)

0 commit comments

Comments
 (0)