yii2-httpclient icon indicating copy to clipboard operation
yii2-httpclient copied to clipboard

Undefined variable: http_response_header

Open ischenko opened this issue 5 years ago • 1 comments

What steps will reproduce the problem?

Use HTTP client with yii\httpclient\StreamTransport transport and try to open any local file via file:/// scheme

What's expected?

A content of given file.

What do you get instead?

yii\httpclient\Exception: Undefined variable: http_response_header

Additional info

Q A
Yii version 2.0.38
Yii HTTP Client version 2.0.12
PHP version 7.4.10
Operating system Ubuntu 18.04

ischenko avatar Sep 25 '20 07:09 ischenko

Thanks for posting in our issue tracker. In order to properly assist you, we need additional information:

  • When does the issue occur?
  • What do you see?
  • What was the expected result?
  • Can you supply us with a stacktrace? (optional)
  • Do you have exact code to reproduce it? Maybe a PHPUnit tests that fails? (optional)

Thanks!

This is an automated comment, triggered by adding the label status:need more info.

yii-bot avatar Sep 25 '20 08:09 yii-bot