summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph <xrstf-git@yahoo.com>2014-06-18 17:57:40 +0200
committerAlexander Shorin <kxepal@apache.org>2014-06-30 02:40:20 +0400
commitfda86ae1ca1ed666acc4c99d5e70625b49404242 (patch)
tree7b8be17b2b9321a864d0f4b5414adc1930495f9a
parent04bc532eaee22b26eccf9656441b7c0cab836063 (diff)
downloadcouchdb-fda86ae1ca1ed666acc4c99d5e70625b49404242.tar.gz
Docs: fix typo in Accept header value
This closes #250 Signed-off-by: Alexander Shorin <kxepal@apache.org>
-rw-r--r--share/doc/src/intro/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/doc/src/intro/api.rst b/share/doc/src/intro/api.rst
index 9525bee57..d68f6e683 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`.