-
Notifications
You must be signed in to change notification settings - Fork 62
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
support http2 #84
support http2 #84
Conversation
@staabm Can you help me fix that error, please? |
tests/HTTP/SapiTest.php
Outdated
function testRecognizeHttp2() { | ||
$request = Sapi::createFromServerArray([ | ||
'SERVER_PROTOCOL' => 'HTTP/2.0', | ||
'REQUEST_URI' => 'bla' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Misses REQUEST_METHOD e.g. GET
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
.gitignore
Outdated
# Binaries | ||
bin/php-cs-fixer* | ||
bin/phpunit* | ||
bin/sabre-cs-fixer* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are already contained, see above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the .bat equalivants aren't. I think I'll fix it.
Why are the tests still failing? |
see https://travis-ci.org/fruux/sabre-http/jobs/257649768 seems to be a phpunit issue, unrelated to your PR. |
So you're going to merge it soon? |
@@ -6,10 +6,10 @@ composer.lock | |||
tests/cov/ | |||
|
|||
# Composer binaries | |||
bin/phpunit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please drop all your changes from the gitignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then I'm going to commit the .bat binaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh I see, you are on windows.
yep |
thx |
When will you publish a new version? I need this feature 😆 |
as I read the trunk changelog, it will be version 5. as this is the only one which will allow BC breaks I need to wait for @evert and what he likes to break in this release. alternatively we could cherry pick into a 4.x version. lets see what his opinion is. |
Okay, thanks. |
I added the binaries files, that will be installed once you install the dependencies, to the
gitignore
file.fixes #81