From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QW10v-0001jO-G2 for garchives@archives.gentoo.org; Mon, 13 Jun 2011 06:52:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2B19E035C; Mon, 13 Jun 2011 06:51:22 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pigeon.gentoo.org (Postfix) with SMTP id 79275E035C for ; Mon, 13 Jun 2011 06:51:22 +0000 (UTC) Received: (qmail invoked by alias); 13 Jun 2011 06:51:21 -0000 Received: from p54850C9B.dip0.t-ipconnect.de (EHLO gmx.net) [84.133.12.155] by mail.gmx.net (mp023) with SMTP; 13 Jun 2011 08:51:21 +0200 X-Authenticated: #20088476 X-Provags-ID: V01U2FsdGVkX1/CB9gnHB3CT+wHc2zAf/Y5sXJfrvvN/pbgqxwFvt HxNGgsvDZV04W4 Received: by gmx.net (nbSMTP-1.00) for uid 1001 Meino.Cramer@gmx.de; Mon, 13 Jun 2011 08:51:22 +0200 (CEST) Date: Mon, 13 Jun 2011 08:51:22 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: OT: Firefox - saved or not ot be saved... Message-ID: <20110613065122.GH3061@solfire> References: <20110613042655.GF3061@solfire> <4DF59F8A.6010206@hfigge.myfqdn.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DF59F8A.6010206@hfigge.myfqdn.de> User-Agent: mutt-ng/devel-r804 (Linux) X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: 0447caadb524c7677f9051feb34442a2 Hartmut Figge [11-06-13 07:32]: > 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 :-) > > Hi Hartmut, Oh, yeah! GREAT! I didn't know of "HEAD" at all - this nice tool fixes the problem at once! Great help, thank you very much ! :))) Have a nice "Pfingstmontag" :) Best regards, mcc