[wp-hackers] wordpress.tar.gz
Mark Shields
laebshade at gmail.com
Wed Sep 26 12:42:14 GMT 2007
On 9/26/07, Barry Abrahamson <barry at automattic.com> wrote:
>
> Omry Yadan wrote:
> > great.
> >
> > just curious - why does the user-agent have any effect on the file the
> > client receives?
>
> So, here's the technical explanation:
>
> It had nothing to do with the User-Agent but with the HTTP request
> headers that were sent. By default CLI utilities such as wget and curl
> dont send any Accept-Encoding headers. Server side we were sending a
> 'Content-Encoding: gzip' header for the tar.gz file. Since there was no
> 'Accept-Encoding: gzip' header sent by the client, an uncompressed
> version was delivered to the client. It's pretty inconvenient (as you
> noticed) to have a tar.gz file that is uncompressed.
>
> I have removed the Content-Encoding header and replaced it with the
> correct Content-Type headers to identify the different download types.
>
> Barry
>
> --
> Barry Abrahamson | Systems Wrangler | Automattic
> Blog: http://barry.wordpress.com
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
Thank you. I pointed this out on the forums [1] but was
misunderstood/ignored. Glad to see it's fixed.
[1] http://wordpress.org/support/topic/135655
--
- Mark Shields
More information about the wp-hackers
mailing list