From: Hartmut Figge <h.figge@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: OT: Firefox - saved or not ot be saved...
Date: Mon, 13 Jun 2011 07:26:34 +0200 [thread overview]
Message-ID: <4DF59F8A.6010206@hfigge.myfqdn.de> (raw)
In-Reply-To: <20110613042655.GF3061@solfire>
meino.cramer@gmx.de:
> there is one feature of forefox, which bugs me:
> On the same site (www.blenderswap.com) I click
> to files to download. One is a *.blend, the
> other one is a *.rar.
> When I click the *.blend, the file gets downloaded
> and stored on my hd at once -> bad!
> When I click the *.rar, the file gets NOT downloaded
> at once and instead I am offered a dialog, which
> asks what to do.
>
> I looked into Preferences->Application, which lists
> filetypes and the according action and DONT find
> an entry for *.blend files.
What happens depends on the Content-Type with which the server delivers
the file. Here is an example.
http://www.triffids.de/pub/blend/
Both files are identical text files, but hm.blend1 comes with text/plain
and hm.blend2 comes with text/hafi. The last is unknown *g*, so it will
be asked what to do. text/plain is well known and the browser will
display its content.
> Where can I change the action selected by Firefox
> which gets executed for a certain filetype else?
Look at the Content-Type of your *.blend. One way to do this is with
HEAD which is part of libwww-perl.
hafi@i5 ~ $ HEAD http://www.triffids.de/pub/blend/hm.blend2
200 OK
Connection: close
Date: Mon, 13 Jun 2011 05:21:15 GMT
Accept-Ranges: bytes
ETag: "942355-b-4a590cf7e03b1"
Server: Apache
Content-Length: 11
Content-Type: text/hafi
Last-Modified: Mon, 13 Jun 2011 05:01:21 GMT
Client-Date: Mon, 13 Jun 2011 05:21:15 GMT
Client-Peer: 85.13.136.212:80
Client-Response-Num: 1
Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
next prev parent reply other threads:[~2011-06-13 5:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-13 4:26 [gentoo-user] OT: Firefox - saved or not ot be saved meino.cramer
2011-06-13 5:26 ` Hartmut Figge [this message]
2011-06-13 6:51 ` [gentoo-user] " meino.cramer
2011-06-13 7:36 ` Adam Carter
2011-06-13 7:49 ` Hartmut Figge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DF59F8A.6010206@hfigge.myfqdn.de \
--to=h.figge@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox