yii2-httpclient
yii2-httpclient copied to clipboard
Undefined variable: http_response_header
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 |
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.