Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CB46D469 for ; Tue, 31 Jul 2012 21:13:23 +0000 (UTC) Received: (qmail 95104 invoked by uid 500); 31 Jul 2012 21:13:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 95062 invoked by uid 500); 31 Jul 2012 21:13:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 95053 invoked by uid 99); 31 Jul 2012 21:13:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 21:13:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of demablogia@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 21:13:12 +0000 Received: by obbta14 with SMTP id ta14so15002333obb.18 for ; Tue, 31 Jul 2012 14:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=BdoJAjhcZIjh/rI5l9XkUphk/foFAN8LG+x0uxAeFLc=; b=fXQ7axrnJp0TnxX7tSDImU7pO8uTcFsLARSGI5FK1MFcAOu8IhTOJMWAYwSSoVTORf o9hFDqevU5qQQHHGFsbZDCQXuY8OM5umtTlu5NDLTZXlWvJGG/KyyndTmGozKK484qJV iTDiztEawbndsxBnzUicQK3PCiATROyBTf8zrdZKl1K+j1atnGS5n3d/544TzQFbO2GB NZWrb6ulIeFuGqI8DajoH/JJaxxfrn4/6u+ltcjKdxu+OnpuZf5uBftpc1RKtOrUhG2t UuPmJcUu9Yapfs8KmxlEvFB6wJac4Bvua6fMx+3Y0eo/EL8COpGrIvAM8foEIh8aDdf0 /TBQ== Received: by 10.182.85.8 with SMTP id d8mr25525069obz.70.1343769172445; Tue, 31 Jul 2012 14:12:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.80.137 with HTTP; Tue, 31 Jul 2012 14:12:32 -0700 (PDT) In-Reply-To: References: <5017C1D3.5030608@ice-sa.com> From: =?ISO-8859-1?Q?Jose_Mar=EDa_Zaragoza?= Date: Tue, 31 Jul 2012 23:12:32 +0200 Message-ID: Subject: Re: PDF Download problem tomcat >= 7.0.27 To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org > The Content-Length header in the above 206 response is not from Tomcat. > > Tomcat's DefaultServlet does not calculate the whole size of the parts > and does not set content-length, and the file size is much more than > fits into the buffer. > So it would use Transfer-Encoding: chunked in its response and not > the one that you cited. > There must be some proxy in the way that buffers the data and sends > them as one response instead of chunks. HTTPD? Was there some option > in it that disables chunked encoding when interacting with IE? Well, i don't know so much, but that doesn't have to do with chunked encoding, but Partial Content support, right ? And partial content is requested by client (IE) if Content-length is very big ( I guess ... ) Maybe, IE requests a PDF file (GET) and if it sees a Content-length very big , cuts downloading and re-send a GET request with a range of bytes. Chrome looks to perform something like that behaviour --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org