We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's not possible to set own default HTTP headers. You can try use:
$client->getConfig()->set('curl.CURLOPT_HTTPHEADER',array('Expect:'));
Unfortunately, it will replace all headers set before (for example Cookie headers set by CookiePlugin):
You can fix it for example merging arrays with headers. Or more flexible way, something like $client->setParam('defaultHeaders',array());
The text was updated successfully, but these errors were encountered:
85803bd
No branches or pull requests
It's not possible to set own default HTTP headers. You can try use:
$client->getConfig()->set('curl.CURLOPT_HTTPHEADER',array('Expect:'));
Unfortunately, it will replace all headers set before (for example Cookie headers set by CookiePlugin):
You can fix it for example merging arrays with headers. Or more flexible way, something like $client->setParam('defaultHeaders',array());
The text was updated successfully, but these errors were encountered: