[ 
https://issues.apache.org/jira/browse/COUCHDB-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Chesneau updated COUCHDB-461:
------------------------------------

    Attachment: attachments_put_length.diff
                attachments_get_length.diff

I splitted previous patch to make it easier. First patch allow couchdb to send 
attachements (GET) whithout chunked encoding. Content-Length is fixed. 

Second patch improve the handling of PUT attachments and follow the standard. 
If transfert encoding is fixed, couchdb wil first look at it and if chunked use 
it, If no Transfer-Encoding header, Content-Length is used. With this patch 
CouchDB now react like current HTTP servers which fix problems with some client 
that give error 500 on couchdb behind a proxy like Apache server.

> attachments - handle correctly chunked encoding and Content-Length, send 
> attachments unchunked
> ----------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-461
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-461
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Benoit Chesneau
>             Fix For: 0.10
>
>         Attachments: attachments_get_length.diff, 
> attachments_put_length.diff, chunked.diff, chunked2.diff
>
>
> This patch allow couchdb to send attachments unchunked, instead, 
> Content-Length is fixed and content is streamed. It also fix attachments PUT 
> by detecting first if encoding is chunked then test the length witch is the 
> standard way to do it. 

-- 
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