From couchdb-dev-return-310-apmail-incubator-couchdb-dev-archive=incubator.apache.org@incubator.apache.org Mon Apr 28 22:37:38 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 32074 invoked from network); 28 Apr 2008 22:37:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Apr 2008 22:37:37 -0000 Received: (qmail 41211 invoked by uid 500); 28 Apr 2008 22:37:38 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 41140 invoked by uid 500); 28 Apr 2008 22:37:38 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 41116 invoked by uid 99); 28 Apr 2008 22:37:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 15:37:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 22:36:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2C1DF234C12A for ; Mon, 28 Apr 2008 15:33:56 -0700 (PDT) Message-ID: <1450170339.1209422036179.JavaMail.jira@brutus> Date: Mon, 28 Apr 2008 15:33:56 -0700 (PDT) From: "Christopher Lenz (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Updated: (COUCHDB-40) Transfer-Encoding: Chunked on HTTP 1.0 request In-Reply-To: <1745229965.1208291927984.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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_2.diff The first patch against MochiWeb did not work when the client request included a "Connection: Keep-Alive" header. This new version fixes that. > 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, mochiweb_chunking_http10_2.diff, patch-share_www_script_jquery_couch_js, patch-src_couchdb_couch_httpd_erl > > > 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.