[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mysterious gzipped images
From: |
chad |
Subject: |
Re: Mysterious gzipped images |
Date: |
Wed, 7 Aug 2013 09:47:39 -0700 |
On 07 Aug 2013, at 07:35, Stefan Monnier <address@hidden> wrote:
>> address@hidden /tmp]$ curl -O
>> https://icons.duckduckgo.com/i/a-z-animals.com.ico
>> address@hidden /tmp]$ file a-z-animals.com.ico
>> a-z-animals.com.ico: gzip compressed data, max compression
> [...]
>> So it's a gzipped image! After unzipping Emacs understands it
>> perfectly.
>
> 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
- Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/06
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/06
- Re: Mysterious gzipped images, Andreas Schwab, 2013/08/06
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/06
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/06
- Re: Mysterious gzipped images, Julien Danjou, 2013/08/07
- Re: Mysterious gzipped images, Stefan Monnier, 2013/08/07
- Re: Mysterious gzipped images,
chad <=
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/08
- Re: Mysterious gzipped images, Andreas Schwab, 2013/08/08
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/11
- Re: Mysterious gzipped images, Paul Eggert, 2013/08/08
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/08
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/08
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/11
- Re: Mysterious gzipped images, Romain Francoise, 2013/08/08
- Re: Mysterious gzipped images, Lars Magne Ingebrigtsen, 2013/08/08
- Re: Mysterious gzipped images, Christopher Schmidt, 2013/08/08