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

Undefined variable: http_response_header #213

Open
ischenko opened this issue Sep 25, 2020 · 1 comment
Open

Undefined variable: http_response_header #213

ischenko opened this issue Sep 25, 2020 · 1 comment
Labels
status:to be verified Needs to be reproduced and validated.

Comments

@ischenko
Copy link

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
@yii-bot
Copy link

yii-bot commented Sep 25, 2020

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.

@bizley bizley added status:to be verified Needs to be reproduced and validated. and removed status:need more info labels Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:to be verified Needs to be reproduced and validated.
Projects
None yet
Development

No branches or pull requests

3 participants