[ 
https://issues.apache.org/jira/browse/COUCHDB-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828639#action_12828639
 ] 

Robert Newson commented on COUCHDB-595:
---------------------------------------

Confirmed that couchdb_att_100_continue2.patch fixes the problem with 
expect/continue delays for non-chunked PUT's.

Thanks.


> Expect/Continue support broken for non-chunked transfer uploads
> ---------------------------------------------------------------
>
>                 Key: COUCHDB-595
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-595
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Robert Newson
>         Attachments: couchdb_att_100_continue.patch, 
> couchdb_att_100_continue2.patch
>
>
> CouchDB does not send the "HTTP/1.1 100 CONTINUE\r\n" line in response to a 
> request with header "Expect: 100-continue". It does do so for chunked 
> transfer mode, so correct expect/continue behavior can be achieved by forcing 
> chunked mode, even when the exact length of the body is known.
> mochiweb_request.erl's recv/1 method does not send the header, but 
> stream_body/4 does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to