Wolfram Sobotta wrote:
> 
> If I type a URL in mozilla it displays it by default in the
> browser-window. ( I tried to save an XPI).
> But I will save this content, rather than it display - for instance
> binary files.
> 
> Is this an bug or a feature? ;-)

It depends on the server. If the server sends back a MIME-type of text/plain
or text/html (among others) then we try to display it. Some servers are
misconfigured to send one of those two for files of extensions they don't
know.  Since .xpi is a new extension the server probably isn't set up to
send the correct MIME-type, and doesn't send a generic "unknown" type.

If this were a link you could right-click and use "Save As" from the context
menu. This points up a potential new feature: a way to force a "Save As" for
an arbitrary URL. You can't just save the displayed page because there will
be text line-ending translation that will break a binary file.

-Dan Veditz

Reply via email to