Skip to content

Fix GH-11433: Unable to set CURLOPT_ACCEPT_ENCODING to NULL - #11446

Closed
ndossche wants to merge 1 commit into
php:PHP-8.1from
ndossche:fix-11433
Closed

ndossche wants to merge 1 commit into
php:PHP-8.1from
ndossche:fix-11433

Conversation

@ndossche

Copy link
Copy Markdown
Member

Note: I'm unsure how to write a phpt in a meaningful way for this one. I tried setting NULL and a string and it works, but I don't see an encoding test I can copy/amend.

@ndossche
ndossche requested a review from adoy June 12, 2023 22:06
@ndossche ndossche linked an issue Jun 12, 2023 that may be closed by this pull request
@adoy

adoy commented Jun 12, 2023

Copy link
Copy Markdown
Member

@nielsdos Thanks :)
Maybe just verify that the header is sent or not depending on the value ?

@ndossche

Copy link
Copy Markdown
Member Author

Oh! Great idea :) I'll push that, and I'll wait for the merge until CI ran completely.
Thx for the quick review btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to set CURLOPT_ACCEPT_ENCODING to NULL

2 participants