Add HPACK test cases
This commit is contained in:
342
fixtures/hpack/raw-data/story_06.json
Normal file
342
fixtures/hpack/raw-data/story_06.json
Normal file
@@ -0,0 +1,342 @@
|
||||
{
|
||||
"context": "request",
|
||||
"cases": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "ebay.com"
|
||||
},
|
||||
{
|
||||
":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.ebay.com"
|
||||
},
|
||||
{
|
||||
":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": "ebay-stories.com"
|
||||
},
|
||||
{
|
||||
":path": "/wp-content/uploads/2012/11/Iso-65.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.ebay.com/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "rover.ebay.com"
|
||||
},
|
||||
{
|
||||
":path": "/roversync/"
|
||||
},
|
||||
{
|
||||
"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.ebay.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "ebay=%5Esbf%3D%23%5E; dp1=bpbf/%238000000000005276504d^u1p/QEBfX0BAX19AQA**5276504d^; cssg=c67883f113a0a56964e646c6ffaa1abe; s=CgAD4ACBQlm5NYzY3ODgzZjExM2EwYTU2OTY0ZTY0NmM2ZmZhYTFhYmUBSgAYUJZuTTUwOTUxY2NkLjAuMS4zLjE1MS4zLjAuMeN+7JE*; nonsession=CgAFMABhSdlBNNTA5NTFjY2QuMC4xLjEuMTQ5LjMuMC4xAMoAIFn7Hk1jNjc4ODNmMTEzYTBhNTY5NjRlNjQ2YzZmZmFhMWFjMQDLAAFQlSPVMX8u5Z8*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "p.ebaystatic.com"
|
||||
},
|
||||
{
|
||||
":path": "/aw/pics/s.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.ebay.com/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "p.ebaystatic.com"
|
||||
},
|
||||
{
|
||||
":path": "/aw/pics/mops/2012_doodles/Holiday/DS3/ImgWeek_1_Penguin_Small_150x30.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.ebay.com/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "p.ebaystatic.com"
|
||||
},
|
||||
{
|
||||
":path": "/aw/pics/globalHeader/facebook/g12.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.ebay.com/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "p.ebaystatic.com"
|
||||
},
|
||||
{
|
||||
":path": "/aw/pics/globalHeader/twitter/g12.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.ebay.com/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "p.ebaystatic.com"
|
||||
},
|
||||
{
|
||||
":path": "/aw/pics/globalHeader/icon_mobile_gray_11x16.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.ebay.com/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "srx.main.ebayrtm.com"
|
||||
},
|
||||
{
|
||||
":path": "/rtm"
|
||||
},
|
||||
{
|
||||
"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.ebay.com/"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user