Add HPACK test cases
This commit is contained in:
369
fixtures/hpack/raw-data/story_11.json
Normal file
369
fixtures/hpack/raw-data/story_11.json
Normal file
@@ -0,0 +1,369 @@
|
||||
{
|
||||
"context": "request",
|
||||
"cases": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "nytimes.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": "t.pointroll.com"
|
||||
},
|
||||
{
|
||||
":path": "/PointRoll/Track/"
|
||||
},
|
||||
{
|
||||
"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.bbc.co.uk/news/business-20178000"
|
||||
},
|
||||
{
|
||||
"cookie": "PRbu=EzZdduhgq; PRgo=BBBAAFMnA; PRti4CD975E46CAEA=B"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "t.pointroll.com"
|
||||
},
|
||||
{
|
||||
":path": "/PointRoll/Track/"
|
||||
},
|
||||
{
|
||||
"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.bbc.co.uk/news/business-20178000"
|
||||
},
|
||||
{
|
||||
"cookie": "PRbu=EzZdduhgq; PRgo=BBBAAFMnA; PRti4CD975E46CAEA=B"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/packages/css/multimedia/bundles/projects/2012/HPLiveDebateFlex.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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/js/app/common/slideshow/embeddedSlideshowBuilder.js"
|
||||
},
|
||||
{
|
||||
"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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/css/0.1/screen/slideshow/modules/slidingGallery.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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/adx/images/ADS/31/46/ad.314668/NYT_MBM_IPHON_LEFT_Oct11.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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/packages/js/multimedia/bundles/projects/2012/HPLiveDebateFlex.js"
|
||||
},
|
||||
{
|
||||
"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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/packages/js/multimedia/data/FilmStripPromo/2012_election_filmstrip.js"
|
||||
},
|
||||
{
|
||||
"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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "graphics8.nytimes.com"
|
||||
},
|
||||
{
|
||||
":path": "/packages/js/elections/2012/debates/videostrip/filmstrip.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.nytimes.com/"
|
||||
},
|
||||
{
|
||||
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user