Skip to content
New issue

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

Add content-type header for requestOptions #51

Open
miramir opened this issue Apr 23, 2020 · 0 comments
Open

Add content-type header for requestOptions #51

miramir opened this issue Apr 23, 2020 · 0 comments

Comments

@miramir
Copy link

miramir commented Apr 23, 2020

In PHP 7.2.25

I see notice: "Notice: fopen(): Content-type not specified assuming application/x-www-form-urlencoded"

ErrorException: Notice: fopen(): Content-type not specified assuming application/x-www-form-urlencoded
#8 /var/www/td/vendor/yiisoft/yii2-httpclient/src/StreamTransport.php(61): yii\httpclient\StreamTransport::send
#7 /var/www/td/vendor/yiisoft/yii2-httpclient/src/Client.php(233): yii\httpclient\Client::send
#6 /var/www/td/vendor/yiisoft/yii2-httpclient/src/Request.php(444): yii\httpclient\Request::send
#5 /var/www/td/vendor/kak/clickhouse/Command.php(150): kak\clickhouse\Command::execute
#4 /var/www/td/components/ChTarget.php(104): app\components\ChTarget::export
#3 /var/www/td/components/ChTarget.php(134): app\components\ChTarget::collect
#2 /var/www/td/vendor/yiisoft/yii2/log/Dispatcher.php(191): yii\log\Dispatcher::dispatch
#1 /var/www/td/vendor/yiisoft/yii2/log/Logger.php(177): yii\log\Logger::flush
#0 internal: null

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

No branches or pull requests

1 participant