Return-Path: Delivered-To: apmail-incubator-couchdb-commits-archive@locus.apache.org Received: (qmail 81674 invoked from network); 25 Jul 2008 00:35:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2008 00:35:33 -0000 Received: (qmail 23051 invoked by uid 500); 25 Jul 2008 00:35:32 -0000 Delivered-To: apmail-incubator-couchdb-commits-archive@incubator.apache.org Received: (qmail 23021 invoked by uid 500); 25 Jul 2008 00:35:32 -0000 Mailing-List: contact couchdb-commits-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-commits@incubator.apache.org Received: (qmail 23012 invoked by uid 99); 25 Jul 2008 00:35:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2008 17:35:32 -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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 00:34:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1CFA82388986; Thu, 24 Jul 2008 17:35:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r679636 - /incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl Date: Fri, 25 Jul 2008 00:35:11 -0000 To: couchdb-commits@incubator.apache.org From: damien@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080725003512.1CFA82388986@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: damien Date: Thu Jul 24 17:35:11 2008 New Revision: 679636 URL: http://svn.apache.org/viewvc?rev=679636&view=rev Log: Fix for problem with Safari and mochiweb. Modified: incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl Modified: incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl?rev=679636&r1=679635&r2=679636&view=diff ============================================================================== --- incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl (original) +++ incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl Thu Jul 24 17:35:11 2008 @@ -50,8 +50,7 @@ case Request:get(version) of Version when Version >= {1, 1} -> Length = iolist_size(Data), - send(io_lib:format("~.16b\r\n", [Length])), - send([Data, <<"\r\n">>]); + send([io_lib:format("~.16b\r\n", [Length]), Data, <<"\r\n">>]); _ -> send(Data) end.