Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C4F74078 for ; Thu, 23 Jun 2011 13:55:44 +0000 (UTC) Received: (qmail 78593 invoked by uid 500); 23 Jun 2011 13:55:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 78555 invoked by uid 500); 23 Jun 2011 13:55:43 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 78547 invoked by uid 99); 23 Jun 2011 13:55:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 13:55:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 13:55:37 +0000 Received: by vxd7 with SMTP id 7so1998865vxd.11 for ; Thu, 23 Jun 2011 06:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=7LGjhxeuOeHEKb92NAs1FUo+akINdsywu1WNqMJqYD8=; b=HKPHJUREXDAcuu+oiUcRy5uf0qgfPE51u0EisMRQHGzCtXX4wfb/JeV1vUhWvQ43qP EDRzrvtX5Lrv9KE9SVAh0BjFXEYEWG94eKv3N+vhla0T7VG5Fq5HZSwCJ54kZAaREeZ8 /qm5/slRDGwHZbO4sCL5DUTPmHkPfOuhAr8+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=wyzT2FnjHiyZfjnlc+dMArXltfvKd+EkkfLbP9vbNjgKe+TlOorfXy5JIBQ9LXagJW lndRXui0GxR8UVUd96v3XwshHfzPY5gMi3L8Sg324TK92y1Cj9T9YfwhxGsCjNdUvtiR wzVGeqqC0dVmwJAZrTGqXdxRlF1M6OvN190l4= Received: by 10.52.160.99 with SMTP id xj3mr2850079vdb.261.1308837316174; Thu, 23 Jun 2011 06:55:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.162.168 with HTTP; Thu, 23 Jun 2011 06:54:36 -0700 (PDT) In-Reply-To: References: From: Paul Davis Date: Thu, 23 Jun 2011 13:54:36 +0000 Message-ID: Subject: Re: attachments.js bug on Chrome To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 I'm not entirely certain if the bug is in Chrome or how we expect Chrome to react. I know there are browser differences when running against localhost but I'm not entirely certain what they are and why. I'll write a small test case in Python to try and reproduce and if so will call it a Chrome bug and kick it to their issue tracker. On Thu, Jun 23, 2011 at 5:02 AM, Randall Leeds wrote: > Does this affect anything serious or just a contrived example? Is it a > zero-length attachment or something, in the test? > > File it on the chromium issues and call a vote for 1.0.3 :) > On Jun 22, 2011 5:58 PM, "Paul Davis" wrote: >> While preparing the 1.0.3 release I stumbled across an awesome bug in >> the attachments.js test. Apparently Chrome will set the Content-Type >> to null if the Content-Length is 0 and the response is served from >> 127.0.0.1. I can reproduce this easily by just changing between >> 127.0.0.1 and my local external IP 192.168.10.x in the URL bar and run >> the test on both. Fails on 127.0.0.1 and not on the external IP. This >> appears to be consistent on all branches. >> >> I have no idea what the best fix is here. Suggestions welcome. >