incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Fisher <dave2w...@comcast.net>
Subject Re: Extension downloading problem
Date Sun, 26 Aug 2012 01:56:35 GMT

On Aug 25, 2012, at 6:37 PM, Rob Weir wrote:

> On Fri, Aug 24, 2012 at 5:59 PM, Andrea Pescetti <pescetti@apache.org> wrote:
>> 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):
>> 
> 
> Good work.  I'm copying Roberto on this, since it sounds like this
> will need a configuration change on the SourceForge side.
> 
> 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:
> 
> 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

> 
> -Rob
> 
> 
>> $ 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.


Mime
View raw message