Bug #18095 Updated: browser cant read zlib compressed output

From: Date: Mon, 01 Jul 2002 20:33:25 +0000
Subject: Bug #18095 Updated: browser cant read zlib compressed output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12714@lists.php.net to get a copy of this message
ID: 18095 Updated by: sr@php.net Reported By: bugzilla@cm51-210.liwest.at -Status: Open +Status: Feedback Bug Type: Zlib Related Operating System: Linux 2.4.18 PHP Version: 4.0CVS-2002-07-01 New Comment: If you use 0 as zlib.ouput_compression_level, the output isn't compressed, but the gzip/deflate headers are added to the output (and the corresponding Content-Encoding header). Can you check with a phpinfo()-page that zlib.output_compression really is set to "off" (otherwise try setting it to "0")? I can't reproduce the binary display with your example URL, it works with Mozilla 1.0 and lynx, if I make the HTTP by hand, it displays the correct headers. Previous Comments: ------------------------------------------------------------------------ [2002-07-01 15:20:23] bugzilla@cm51-210.liwest.at i think the compressed data is the gzlib "dont compress, store only" header. browser is mozilla 1.1 cvs doesnt work with ie 6.0 either ------------------------------------------------------------------------ [2002-07-01 15:16:28] bugzilla@cm51-210.liwest.at if i compile with --with-zlib, output is zlib compressed (can check if i download page and gunzip) but browser displays binary output. (maybe content-type is wrong ?) zlib.output_compression is set to OFF (doesnt help) if i set zlib.output_compression_level = 0 output is readable, but prefixed with binary data ‹4(Ë×<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> you can check by yourself: http://cm51-210.liwest.at/wiki/index.php?pagename=LinzCam ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18095&edit=1

« previous php.bugs (#12714) next »