Skip to content

Commit

Permalink
Add Transfer-Encoding to the list of HTTP Headers
Browse files Browse the repository at this point in the history
This closes #6

Signed-off-by: Alexander Shorin <kxepal@apache.org>
  • Loading branch information
mar-ia authored and kxepal committed Nov 25, 2014
1 parent 4d1309e commit 6f39c71
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/api/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,19 @@ below.
original ETag head (therefore sending back 304 Not Modified more
often).

- ``Transfer-Encoding``

If the response uses an encoding, then it is specified in this
header field.

``Transfer-Encoding: chunked`` means that the response is sent in
parts, a method known as `chunked transfer encoding`_. This is used
when CouchDB does not know beforehand the size of the data it will
send (for example, the :ref:`changes feed <changes>`).

.. _chunked transfer encoding:
https://en.wikipedia.org/wiki/Chunked_transfer_encoding

.. _json:

JSON Basics
Expand Down

0 comments on commit 6f39c71

Please sign in to comment.