php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19828 zlib-compression (gzip encoding) don't work with any browser
Submitted: 2002-10-09 03:49 UTC Modified: 2002-10-09 12:21 UTC
From: paolo at ir3ip dot net Assigned:
Status: Not a bug Package: Zlib related
PHP Version: 4.2.3 OS: linux 2.2.19
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: paolo at ir3ip dot net
New email:
PHP Version: OS:

 

 [2002-10-09 03:49 UTC] paolo at ir3ip dot net
Hi all.
I've stated that zlib-compression feature is not correctly implemented, because the HTML header must be something like this:

.....
Content-type: text/html
Content-encoding: gzip


Now, php zlib-compression feature don't work with IE, Konqueror, and probably other few browsers, because it send "Content-encoding: gzip" BEFORE "Content-type: mimetype".

Bytheway, the zlib compression is a good enhancement for those who are not using mod_gzip module.

Ok, good luck. Paolo

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-09 12:21 UTC] iliaa@php.net
This works fine in IE 6.0, Mozilla, Konqueror and Opera I imagine it works in other browsers as well since the order of headers in this particular case does not make a difference.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC