Skip to content

Bugfix: headers not being passed to request #529

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

Merged
merged 4 commits into from
Feb 23, 2017

Conversation

emmetog
Copy link
Contributor

@emmetog emmetog commented Feb 23, 2017

The bug was that the version header (and any other headers which were set using addHeaderValue()) were not passed to the HeaderAppendPlugin, so when the request was made those headers didn't get sent.

Copy link
Collaborator

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR.

I like that you added tests. I just had a minor comment and then Im happy to merge

.gitignore Outdated
@@ -3,3 +3,6 @@ phpunit.xml
composer.lock
composer.phar
vendor/*

# IDEs
/.idea/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should never be in the gitignore. They should be in your global gitignore file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't familiar with the global gitignore, thanks

@xabbuh
Copy link
Contributor

xabbuh commented Feb 23, 2017

👍 thanks, I indeed missed that

@Nyholm Nyholm merged commit be18a9e into KnpLabs:master Feb 23, 2017
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

Successfully merging this pull request may close these issues.

3 participants