For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > March 2004 > snaps.php.net: wrong content type for .tar.gz file?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author snaps.php.net: wrong content type for .tar.gz file?
Olaf Van Der Spek

2004-03-31, 3:32 pm

Hi,

I downloaded the PHP source code and Windows saved the file as .tar.tar.
Renaming to .tar.gz fixed it.
I had a look at the issue and I think the server is sending out the wrong
Content-Type. The content is gzip, not tar.

HEAD /php4-STABLE-latest.tar.gz HTTP/1.0
Host: snaps.php.net

HTTP/1.1 200 OK
Date: Wed, 31 Mar 2004 19:43:45 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4
Last-Modified: Wed, 31 Mar 2004 18:32:04 GMT
ETag: "1de4e-497b2c-406b0ea4"
Accept-Ranges: bytes
Content-Length: 4815660
Connection: close
Content-Type: application/x-tar

Olaf van der Spek
Almere, Holland
http://xccu.sourceforge.net/
Derick Rethans

2004-03-31, 4:31 pm

On Wed, 31 Mar 2004, Olaf van der Spek wrote:

>
> I downloaded the PHP source code and Windows saved the file as .tar.tar.
> Renaming to .tar.gz fixed it.
> I had a look at the issue and I think the server is sending out the wrong
> Content-Type. The content is gzip, not tar.


Fixed, thanks!

regards,
Derick
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com