https://bugzilla.wikimedia.org/show_bug.cgi?id=28069

--- Comment #12 from Dan Nessett <[email protected]> 2011-03-19 00:34:42 UTC 
---
(In reply to comment #11)
> 
> Just use the test case Brion provided to Mozilla. Create a php file containing
> (with some_file.png being a real file)
> <?php
> header('Content-Type: image/png');
> header('Content-Encoding: identity');
> readfile('some_file.png');
> ?>

It took a bit of fiddling, but I successfully tested FF 2.0 and it seems to
handle 'Content-Encoding: identity' properly. The test php I used was:

<?php
@apache_setenv('no-gzip', 1);
header('Content-Type: image/png');
header('Content-Encoding: identity');
readfile('images/cz_testwiki_logo.png');
?>

Here is the HTTPFox output:

(Request-Line)    GET /test.php HTTP/1.1
Host    test.citizendium.org
User-Agent    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1)
Gecko/20061010 Firefox/2.0
Accept   
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language    en-us,en;q=0.5
Accept-Encoding    gzip,deflate
Accept-Charset    ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive    300
Connection    keep-alive
Cookie ......

(Status-Line)    HTTP/1.0 200 OK
Date    Sat, 19 Mar 2011 00:28:17 GMT
Server    Apache/2.2.3 (CentOS)
X-Powered-By    PHP/5.3.5
Content-Encoding    identity
Content-Type    image/png
X-Cache    MISS from aristotle.citizendium.org
X-Cache-Lookup    MISS from aristotle.citizendium.org:80
Via    1.0 aristotle.citizendium.org:80 (squid/2.6.STABLE21)
Connection    close

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to