mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
Fixed test case to include version being returned as part of the parser results
This commit is contained in:
parent
9308a0ed05
commit
99c345c51d
@ -53,7 +53,7 @@ uv_http_parser_execute($parser, $buffer, $result);
|
||||
var_dump($result);
|
||||
--EXPECT--
|
||||
# Headers count
|
||||
9
|
||||
10
|
||||
# Headers values
|
||||
chobie.net
|
||||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0
|
||||
@ -80,7 +80,7 @@ array(5) {
|
||||
["UPGRADE"]=>
|
||||
int(1)
|
||||
["HEADERS"]=>
|
||||
array(5) {
|
||||
array(6) {
|
||||
["UPGRADE"]=>
|
||||
string(9) "WebSocket"
|
||||
["CONNECTION"]=>
|
||||
@ -91,5 +91,7 @@ array(5) {
|
||||
string(18) "http://example.com"
|
||||
["WEBSOCKET_PROTOCOL"]=>
|
||||
string(6) "sample"
|
||||
["VERSION"]=>
|
||||
string(3) "1.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user