Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EE06804 for ; Fri, 24 Aug 2012 21:59:37 +0000 (UTC) Received: (qmail 12592 invoked by uid 500); 24 Aug 2012 21:59:37 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 12446 invoked by uid 500); 24 Aug 2012 21:59:37 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 12438 invoked by uid 99); 24 Aug 2012 21:59:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 21:59:37 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a54.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 21:59:29 +0000 Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id D900F3A4061; Fri, 24 Aug 2012 14:59:08 -0700 (PDT) Received: from [192.168.0.5] (unknown [151.67.108.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andrea@pescetti.it) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 3AF313A4058; Fri, 24 Aug 2012 14:59:08 -0700 (PDT) Message-ID: <5037F929.2030508@apache.org> Date: Fri, 24 Aug 2012 23:59:05 +0200 From: Andrea Pescetti User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: Extension downloading problem References: <20120824140001.502e258643f81f924d6ae0b3@iol.ie> <20120824151757.acd3d7dfd40850c1350798fc@iol.ie> <20120824152438.401c8b717c8675772518c883@iol.ie> <4C70AF68-F34D-4D70-9924-AB9F6D3DE93E@comcast.net> In-Reply-To: <4C70AF68-F34D-4D70-9924-AB9F6D3DE93E@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dave Fisher wrote: > Has anyone inspected the MIME Type returned? If it is not a proper > one for OXT then it is possible that IE8 is doing detection of the > type. I had different results than Dave's, and I concluded I see different MIME types depending on the mirror I get, so this depends on how each individual mirror used by SourceForge is configured. Example with repeated attempts (strings are in Italian but it's easy to understand that the first and last one are right, the other mirrors are not): $ wget http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt Posizione: http://ignum.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt [segue] Lunghezza: 4899523 (4,7M) [application/vnd.openofficeorg.extension] $ wget http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt Posizione: http://garr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt [segue] Lunghezza: 4899523 (4,7M) [application/octet-stream] $ wget http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt Posizione: http://heanet.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt [segue] Lunghezza: 4899523 (4,7M) [application/octet-stream] $ wget http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt Posizione: http://dfn.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt [segue] Lunghezza: 4899523 (4,7M) [application/octet-stream] $ wget http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt Posizione: http://freefr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt [segue] Lunghezza: 4899523 (4,7M) [application/vnd.openofficeorg.extension] MIME types are defined at the web server level, so the configuration for each mirror is probably responsible for this difference. Then most browsers will get it right nevertheless, but some might be tricked by receiving the generic "octet-stream" type and interpreting it as a valid ZIP file (which is correct, but not the best thing to do of course) before checking if it is a valid OXT file as well. A simple test could be to ask people who report problems if they get different behaviors with http://garr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt (which serves OXT as octet/stream) and http://freefr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimport.oxt (which serves OXT as application/vnd.openofficeorg.extension). Regards, Andrea.