couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Lenz (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-40) Transfer-Encoding: Chunked on HTTP 1.0 request
Date Sun, 27 Apr 2008 23:26:55 GMT

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

Christopher Lenz updated COUCHDB-40:
------------------------------------

    Attachment: mochiweb_chunking_http10.diff

I think it'd be nice if a fix could be done in MochiWeb itself. See this thread:

  http://groups.google.com/group/mochiweb/browse_thread/thread/971a1e70ee9561b9

I'm attaching a patch for you to try. Please report if this fixes the issue (the JS changes
will still be necessary), and I'll file a ticket with the patch against the MochiWeb project.

> Transfer-Encoding: Chunked on HTTP 1.0 request
> ----------------------------------------------
>
>                 Key: COUCHDB-40
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-40
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>         Environment: Irrelevant
>            Reporter: Kore Nordmann
>         Attachments: compat_http10_couchdb_r649048.diff, mochiweb_chunking_http10.diff,
patch-share_www_script_jquery_couch_js
>
>
> The following request:
> > DELETE /test HTTP/1.0
> > Host: localhost
> is responded like:
> > HTTP/1.0 404 Object Not Found
> > Transfer-Encoding: chunked
> > Server: MochiWeb/1.0 (Any of you quaids got a smint?)
> > Date: Tue, 15 Apr 2008 20:39:07 GMT
> > Content-Type: text/plain;charset=utf-8
> > 
> > 28
> > {"error":"not_found","reason":"missing"}
> > 0
> while chunked transfer-encoding is only supported by HTTP 1.1.

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


Mime
View raw message