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 E555FD5CC for ; Sun, 26 Aug 2012 01:57:06 +0000 (UTC) Received: (qmail 2218 invoked by uid 500); 26 Aug 2012 01:57:06 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 2160 invoked by uid 500); 26 Aug 2012 01:57:06 -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 2152 invoked by uid 99); 26 Aug 2012 01:57:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2012 01:57:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dave2wave@comcast.net designates 76.96.27.228 as permitted sender) Received: from [76.96.27.228] (HELO qmta15.emeryville.ca.mail.comcast.net) (76.96.27.228) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2012 01:56:57 +0000 Received: from omta14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by qmta15.emeryville.ca.mail.comcast.net with comcast id rDsB1j0021HpZEsAFDwdl5; Sun, 26 Aug 2012 01:56:37 +0000 Received: from [192.168.1.2] ([67.180.51.144]) by omta14.emeryville.ca.mail.comcast.net with comcast id rDwc1j00136gVt78aDwcTB; Sun, 26 Aug 2012 01:56:36 +0000 Subject: Re: Extension downloading problem Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Dave Fisher In-Reply-To: Date: Sat, 25 Aug 2012 18:56:35 -0700 Cc: Roberto Galoppini Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120824140001.502e258643f81f924d6ae0b3@iol.ie> <20120824151757.acd3d7dfd40850c1350798fc@iol.ie> <20120824152438.401c8b717c8675772518c883@iol.ie> <4C70AF68-F34D-4D70-9924-AB9F6D3DE93E@comcast.net> <5037F929.2030508@apache.org> To: ooo-dev@incubator.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 25, 2012, at 6:37 PM, Rob Weir wrote: > On Fri, Aug 24, 2012 at 5:59 PM, Andrea Pescetti = wrote: >> Dave Fisher wrote: >>>=20 >>> 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. >>=20 >>=20 >> 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. >>=20 >> 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): >>=20 >=20 > Good work. I'm copying Roberto on this, since it sounds like this > will need a configuration change on the SourceForge side. >=20 > Also, I wonder if it would be worth submitting a patch for Apache. It > looks like they have the other content types used by OpenOffice, but > not oxt files: >=20 > http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types That makes sense although it won't help in this case as the mirror is: Server: nginx/1.0.14 Might need to submit the patch there as well. Regards, Dave >=20 > -Rob >=20 >=20 >> $ wget = http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt >> Posizione: >> = http://ignum.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfim= port.oxt >> [segue] >> Lunghezza: 4899523 (4,7M) [application/vnd.openofficeorg.extension] >>=20 >> $ wget = http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt >> Posizione: >> = http://garr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimp= ort.oxt >> [segue] >> Lunghezza: 4899523 (4,7M) [application/octet-stream] >>=20 >> $ wget = http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt >> Posizione: >> = http://heanet.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfi= mport.oxt >> [segue] >> Lunghezza: 4899523 (4,7M) [application/octet-stream] >>=20 >> $ wget = http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt >> Posizione: >> = http://dfn.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfimpo= rt.oxt >> [segue] >> Lunghezza: 4899523 (4,7M) [application/octet-stream] >>=20 >> $ wget = http://extensions.openoffice.org/e-files/874/29/oracle-pdfimport.oxt >> Posizione: >> = http://freefr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfi= mport.oxt >> [segue] >> Lunghezza: 4899523 (4,7M) [application/vnd.openofficeorg.extension] >>=20 >> 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. >>=20 >> 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-pdfimp= ort.oxt >> (which serves OXT as octet/stream) and >> = http://freefr.dl.sourceforge.net/project/aoo-extensions/874/29/oracle-pdfi= mport.oxt >> (which serves OXT as application/vnd.openofficeorg.extension). >>=20 >> Regards, >> Andrea.