Add HPACK test cases
This commit is contained in:
348
fixtures/hpack/raw-data/story_17.json
Normal file
348
fixtures/hpack/raw-data/story_17.json
Normal file
@@ -0,0 +1,348 @@
|
||||
{
|
||||
"context": "request",
|
||||
"cases": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yahoo.co.jp"
|
||||
},
|
||||
{
|
||||
":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"
|
||||
},
|
||||
{
|
||||
"cookie": "B=76j09a189a6h4&b=3&s=0b"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "www.yahoo.co.jp"
|
||||
},
|
||||
{
|
||||
":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"
|
||||
},
|
||||
{
|
||||
"cookie": "B=76j09a189a6h4&b=3&s=0b"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/top/sp2/clr/1/clr-121025.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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/top/sp/logo.gif"
|
||||
},
|
||||
{
|
||||
"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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/bookstore/common/special/2012/0829_05/banner/84x84_1.jpg"
|
||||
},
|
||||
{
|
||||
"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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yjaxc.yahoo.co.jp"
|
||||
},
|
||||
{
|
||||
":path": "/oi"
|
||||
},
|
||||
{
|
||||
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
|
||||
},
|
||||
{
|
||||
"accept": "*/*"
|
||||
},
|
||||
{
|
||||
"accept-language": "en-US,en;q=0.5"
|
||||
},
|
||||
{
|
||||
"accept-encoding": "gzip, deflate"
|
||||
},
|
||||
{
|
||||
"connection": "keep-alive"
|
||||
},
|
||||
{
|
||||
"referer": "http://www.yahoo.co.jp/"
|
||||
},
|
||||
{
|
||||
"cookie": "B=76j09a189a6h4&b=3&s=0b"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/weather/general/transparent_s/clouds.gif"
|
||||
},
|
||||
{
|
||||
"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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/weather/general/transparent_s/sun.gif"
|
||||
},
|
||||
{
|
||||
"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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/bookstore/common/special/2012/0829_05/banner/84x84_2.jpg"
|
||||
},
|
||||
{
|
||||
"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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/premium/contents/bnr/2012/50x50/0928_store_supernatural.jpg"
|
||||
},
|
||||
{
|
||||
"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.yahoo.co.jp/"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user