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 1QVzhD-00030b-Bz for garchives@archives.gentoo.org; Mon, 13 Jun 2011 05:28:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F50D1C033; Mon, 13 Jun 2011 05:26:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E6241C033 for ; Mon, 13 Jun 2011 05:26:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id CE35A1B4002 for ; Mon, 13 Jun 2011 05:26:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -4.349 X-Spam-Level: X-Spam-Status: No, score=-4.349 required=5.5 tests=[AWL=2.250, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c42Iw-KYhAtX for ; Mon, 13 Jun 2011 05:26:52 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id A32B31B4007 for ; Mon, 13 Jun 2011 05:26:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QVzfh-0004R9-Qb for gentoo-user@gentoo.org; Mon, 13 Jun 2011 07:26:45 +0200 Received: from dsdf-4d0a235d.pool.mediaways.net ([77.10.35.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jun 2011 07:26:45 +0200 Received: from h.figge by dsdf-4d0a235d.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jun 2011 07:26:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Hartmut Figge Subject: [gentoo-user] Re: OT: Firefox - saved or not ot be saved... Date: Mon, 13 Jun 2011 07:26:34 +0200 Organization: O:-) Message-ID: <4DF59F8A.6010206@hfigge.myfqdn.de> References: <20110613042655.GF3061@solfire> 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-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dsdf-4d0a235d.pool.mediaways.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.1.19) Gecko/20110609 Gentoo/2.0.14-r1 Mnenhy/0.8.3 SeaMonkey/2.0.14 In-Reply-To: <20110613042655.GF3061@solfire> X-Face: $CBwo]?gT/(aX1*<~b:KguIwP2;rTO6mTb}1[p]o#_a!CNQ3(i*|ONJ%*wiE8}p%x-Sn|g,N2WIvecq5}Q.q/q<&`!yK2Q03Hv'z<9b12*!e>o0IX"~RFen>)mXi;A??8pfYc>ZFR%t){Pm<;K.@W2B}dyhzT`ku[ZZ.`XX)B&zs@S]y/[\8HAH-$@`>N;Mz=88Z9ipZqV#"dbp9X\ 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 :-)