Repository: couchdb Updated Branches: refs/heads/master 04bc532ea -> fda86ae1c
Docs: fix typo in Accept header value This closes #250 Signed-off-by: Alexander Shorin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fda86ae1 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/fda86ae1 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/fda86ae1 Branch: refs/heads/master Commit: fda86ae1ca1ed666acc4c99d5e70625b49404242 Parents: 04bc532 Author: Christoph <[email protected]> Authored: Wed Jun 18 17:57:40 2014 +0200 Committer: Alexander Shorin <[email protected]> Committed: Mon Jun 30 02:40:20 2014 +0400 ---------------------------------------------------------------------- share/doc/src/intro/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/fda86ae1/share/doc/src/intro/api.rst ---------------------------------------------------------------------- diff --git a/share/doc/src/intro/api.rst b/share/doc/src/intro/api.rst index 9525bee..d68f6e6 100644 --- a/share/doc/src/intro/api.rst +++ b/share/doc/src/intro/api.rst @@ -281,7 +281,7 @@ browsers will display the JSON as text. .. _JSONView: http://jsonview.com/ Do you remember the :header:`Accept` request header and how it is set to -``\*/\* -> */*`` to express interest in any MIME type? If you send ``Accept: +``*/*`` to express interest in any MIME type? If you send ``Accept: application/json`` in your request, CouchDB knows that you can deal with a pure JSON response with the proper :header:`Content-Type` header and will use it instead of :mimetype:`text/plain`.
