Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6de4123

Browse files
gkalpakpetebacondarwin
authored andcommitted
docs($http): display the actual default Accept header
1 parent 49dce2e commit 6de4123

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
@@ -514,7 +514,7 @@ function $HttpProvider() {
514514
* object, which currently contains this default configuration:
515515
*
516516
* - `$httpProvider.defaults.headers.common` (headers that are common for all requests):
517-
* - `Accept: application/json, text/plain, * / *`
517+
* - <code>Accept: application/json, text/plain, \*&#65279;/&#65279;\*</code>
518518
* - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)
519519
* - `Content-Type: application/json`
520520
* - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)

0 commit comments

Comments
 (0)