xref: /PHP-8.2/ext/zlib/tests/gh7953.phpt (revision 9bd468da)
1--TEST--
2GH-7953 (ob_clean() only may not set Content-* header)
3--EXTENSIONS--
4zlib
5--CGI--
6--ENV--
7HTTP_ACCEPT_ENCODING=gzip
8--FILE--
9<?php
10ob_start('ob_gzhandler');
11ob_clean();
12
13echo 'Hello World';
14?>
15--EXPECTF--
16%a
17--EXPECTHEADERS--
18Content-Encoding: gzip
19Vary: Accept-Encoding
20