Add HPACK test cases
This commit is contained in:
345
fixtures/hpack/raw-data/story_19.json
Normal file
345
fixtures/hpack/raw-data/story_19.json
Normal file
@@ -0,0 +1,345 @@
|
||||
{
|
||||
"context": "request",
|
||||
"cases": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yandex.ru"
|
||||
},
|
||||
{
|
||||
":path": "/"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "www.yandex.ru"
|
||||
},
|
||||
{
|
||||
":path": "/"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yabs.yandex.ru"
|
||||
},
|
||||
{
|
||||
":path": "/count/Vnw_3zF2dkO40002Zhl8KGa5KPK2cmPfMeYpO2zG0vAeOuAefZIAgoA2KAe2fPOOP96yq4ba1fDKGQC1hlDVeQN8GfVD17e7"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
},
|
||||
{
|
||||
"cookie": "t=p; yandexuid=6410453771351949451"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yabs.yandex.ru"
|
||||
},
|
||||
{
|
||||
":path": "/count/Vnw_3mft8wq40000Zhl8KGa5KP6yq4ba1fDKhlDVeQN8GfVD17a3=qcOn49K2cmPfMcbQagXZWgYAgoA2KAMM66IcD7W3"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
},
|
||||
{
|
||||
"cookie": "t=p; yandexuid=6410453771351949451"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yandex.st"
|
||||
},
|
||||
{
|
||||
":path": "/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yandex.st"
|
||||
},
|
||||
{
|
||||
":path": "/www/1.359/www/i/yandex3.png"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yandex.st"
|
||||
},
|
||||
{
|
||||
":path": "/morda-logo/i/logo.png"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "mc.yandex.ru"
|
||||
},
|
||||
{
|
||||
":path": "/watch/722545"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
},
|
||||
{
|
||||
"cookie": "t=p; yandexuid=6410453771351949451"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yandex.st"
|
||||
},
|
||||
{
|
||||
":path": "/www/1.359/www/pages-desktop/www-css/_www-css.css"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "text/css,*/*;q=0.1"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yandex.st"
|
||||
},
|
||||
{
|
||||
":path": "/www/_/_r7pp-b-hKoDbgyGYy0IB3wlkno.png"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yandex.ru/"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user