From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Mysterious gzipped images Date: Wed, 7 Aug 2013 09:47:39 -0700 Message-ID: <8F2D7D24-A498-40FC-948A-E8D62A683706@mit.edu> References: <87mwoul8sz.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375894081 14349 80.91.229.3 (7 Aug 2013 16:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 16:48:01 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 07 18:48:02 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V76u2-0004eQ-LY for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2013 18:48:02 +0200 Original-Received: from localhost ([::1]:59514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V76u2-0004GK-5i for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2013 12:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V76tt-0004F6-Vf for emacs-devel@gnu.org; Wed, 07 Aug 2013 12:48:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V76tk-0005sA-NT for emacs-devel@gnu.org; Wed, 07 Aug 2013 12:47:53 -0400 Original-Received: from dmz-mailsec-scanner-2.mit.edu ([18.9.25.13]:57775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V76tk-0005rh-HY for emacs-devel@gnu.org; Wed, 07 Aug 2013 12:47:44 -0400 X-AuditID: 1209190d-b7f078e000000937-2e-52027a2f144b Original-Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 64.D1.02359.F2A72025; Wed, 7 Aug 2013 12:47:44 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id r77GlgJB007126; Wed, 7 Aug 2013 12:47:43 -0400 Original-Received: from [10.0.1.37] (c-98-247-148-125.hsd1.wa.comcast.net [98.247.148.125]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r77GlcT7024083 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 7 Aug 2013 12:47:40 -0400 In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmleLIzCtJLcpLzFFi42IRYrdT1zWoYgoy2DmH0eLxgiesFkfWHWCx +PZrK7MDs0fbNDOPg21ZHuvf7GUKYI7isklJzcksSy3St0vgymiY4Vhwja3i2up1rA2Mu1i7 GDk5JARMJH7MXM0EYYtJXLi3nq2LkYtDSGAfo8SJ1i4mCGcDo8S3K5uYIZxjTBIbjqxjBmlh FtCSuPHvJVg7r4CexNJ/cxhBbGEBNYn/35qARnFwsAnIAI3VAAlzAm2bdWAuWAmLgIrEhOmH 2CHGOEosWv8FaqS2xLKFr5khRlpJLGh8DLX3GqPE5UkXwBIiAroSJ76dZQWZLyEgK7Hzd9IE RsFZSC6aheSiWUjGLmBkXsUom5JbpZubmJlTnJqsW5ycmJeXWqRrpJebWaKXmlK6iREUzpyS vDsY3x1UOsQowMGoxMP7IIgpSIg1say4MvcQoyQHk5Iob1gFUIgvKT+lMiOxOCO+qDQntfgQ owQHs5II78VioBxvSmJlVWpRPkxKmoNFSZz36dOzgUIC6YklqdmpqQWpRTBZGQ4OJQneuyBD BYtS01Mr0jJzShDSTBycIMN5gIY/A6nhLS5IzC3OTIfIn2LU5Xi2Yu4nRiGWvPy8VClx3o0g RQIgRRmleXBzYGnoFaM40FvCvBdBqniAKQxu0iugJUxASzxOMoAsKUlESEk1MF7/8HvxfqZL 3LpGbmVVLepNdj1bdObYyv8SEFSYFMjaEfvo/oXLU+Ysc9bLNVjXHivYMLn2ilpy5sdi7rj9 PFHJQZv0Wt04p6TpfHD1EV/1IufHvOjjC2fGZdb2NZ+sLpWYc2jb7FMJ1oE7WLfx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 18.9.25.13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162467 Archived-At: On 07 Aug 2013, at 07:35, Stefan Monnier = wrote: >> [larsi@stories /tmp]$ curl -O = https://icons.duckduckgo.com/i/a-z-animals.com.ico >> [larsi@stories /tmp]$ file a-z-animals.com.ico=20 >> a-z-animals.com.ico: gzip compressed data, max compression > [...] >> So it's a gzipped image! After unzipping Emacs understands it >> perfectly. >=20 > So curl doesn't implement Accept/Content-Encoding either? That's = weird! I suspect that curl isn't decoding the object because it didn't send an Accept-Encoding with the request. If you ask it to do so (add --compress to the command line), then it decodes the object. I'm not sure where Lars got that URL in the first place, but my guess is that it's gzipped without an indicator due to a quirk in how favicons are implemented. Hope that helps, ~Chad