Skip to content

Fix GH-7953: ob_clean() only does not set Content-Encoding#7960

Closed
cmb69 wants to merge 3 commits intophp:PHP-8.0from
cmb69:cmb/gh7953
Closed

Fix GH-7953: ob_clean() only does not set Content-Encoding#7960
cmb69 wants to merge 3 commits intophp:PHP-8.0from
cmb69:cmb/gh7953

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Jan 17, 2022

If an output handler has not yet been started, calling ob_clean()
causes it to start. If that happens, we must not forget to set the
Content-Encoding and Vary headers.

If an output handler has not yet been started, calling `ob_clean()`
causes it to start.  If that happens, we must not forget to set the
`Content-Encoding` and `Vary` headers.
@cmb69 cmb69 closed this in 9bd468d Feb 3, 2022
@cmb69 cmb69 deleted the cmb/gh7953 branch February 3, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calling ob_clean() after ob_start('gz_handler') does not set Content-Encoding

1 participant