You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by mar-ia <gi...@git.apache.org> on 2014/11/20 13:13:18 UTC
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
GitHub user mar-ia opened a pull request:
https://github.com/apache/couchdb-documentation/pull/6
Add a note about chunked transfer encoding.
I got stuck on this, so adding a note to help the next me.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mar-ia/couchdb-documentation note
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-documentation/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit e951a1e4b720630bf8dea3726742779bd16a07de
Author: Maria Andersson <ma...@dualpose.com>
Date: 2014-11-20T11:37:25Z
Add a note about chunked transfer encoding.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by mar-ia <gi...@git.apache.org>.
Github user mar-ia commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-63804252
Yes, it is already defined. I have been reading a lot about CouchDB and never seen chunked transfer encoding mentioned. This is the first place.
So I think that it needs to be mentioned in a more obvious way. The docs have been holding my hand so far, but here it let go.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/couchdb-documentation/pull/6
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-63799529
This is not the only place we do this, I think a note here is not sufficient.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-64387955
+1
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by mar-ia <gi...@git.apache.org>.
Github user mar-ia commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-64212696
Changed the wording a bit.
And added a link to changes feed, references are a good thing :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-63799688
This is already defined in [resource description](https://github.com/apache/couchdb-documentation/pull/6/files#diff-a2d88ef25c71a555382aedd8ebd9003dR94)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-64388417
Squashed and merged. Thanks!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by mar-ia <gi...@git.apache.org>.
Github user mar-ia commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-64188534
Rewriting history, the first patch never happened :)
All the different transfer encodings used should be listed under 10.1.2. HTTP Headers: Response Headers.
The only used encoding I can find is chunked. If there are others encodings used, point them out and I will add them too.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by mar-ia <gi...@git.apache.org>.
Github user mar-ia commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-63810865
@kxepal Lets put it somewhere in 10.1. API Basics then.
How about in 10.1.2. HTTP Headers under Response Headers? :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-63804866
@mar-ia it's defined for changes feed, views, db_updates, log and some other resources. I don't think it's need to be defined in some special way since this is a standard HTTP feature, not a some special case or a behaviour which is need to point on. Otherwise we'll have whole documentation full of notice boxes which will distract users from main content.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on a diff in the pull request:
https://github.com/apache/couchdb-documentation/pull/6#discussion_r20788372
--- Diff: src/api/basics.rst ---
@@ -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 is unable to send all the data at the same time
--- End diff --
CouchDB is able to send all the data, but it doesn't known or won't to know how much of it will have to send e.g. it cannot set content length value.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb-documentation pull request: Add a note about chunked trans...
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-documentation/pull/6#issuecomment-63811189
@mar-ia good idea.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---