Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Streaming 集成测试支持流式Gzip http响应的库_Streaming_Gzip_Integration Testing - Fatal编程技术网

Streaming 集成测试支持流式Gzip http响应的库

Streaming 集成测试支持流式Gzip http响应的库,streaming,gzip,integration-testing,Streaming,Gzip,Integration Testing,我想为一个库编写一个集成测试,该库处理分块和gzip的流式http响应 有什么服务或其他建议我可以用来做这件事吗 理想的端点或服务应具有: 免费的 大块 不需要身份验证 发送至少5k Gzip内容 如果不需要一个账户,这将是完美的 也许我想得太多了,请说出来,我就吃我的小馅饼。看起来github.com返回的是大块gzip。例如: curl --compressed -v https://github.com/madler/zlib/commits/develop > /dev/nul

我想为一个库编写一个集成测试,该库处理分块和gzip的流式http响应

有什么服务或其他建议我可以用来做这件事吗

理想的端点或服务应具有:

  • 免费的
  • 大块
  • 不需要身份验证
  • 发送至少5k Gzip内容
如果不需要一个账户,这将是完美的


也许我想得太多了,请说出来,我就吃我的小馅饼。

看起来github.com返回的是大块gzip。例如:

curl --compressed -v https://github.com/madler/zlib/commits/develop > /dev/null
...
< Server: nginx/1.0.13
< Date: Sun, 01 Apr 2012 21:32:28 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Status: 200 OK
< ETag: "bae161c1cbcaa8882f8b5c6cb1d1d270"
< X-Frame-Options: deny
< X-Runtime: 107
< Set-Cookie: _gh_sess=BAh7BzoPc2Vzc2lvbl9pZCIlZjhkOWYxYzUzMzhjMTIxZTRmYjUyZTY2MWY0YWVjZGI6EF9jc3JmX3Rva2VuIjFUK2dFR1podXlTMjcralpLUmkyTkpYZzE5ZzBLS3BLODl0OTE0VEt0ZGdJPQ%3D%3D--95e44cf6b548b93a682fdefcbca6b84cb034ca8b; path=/; expires=Sat, 01-Jan-2022 00:00:00 GMT; secure; HttpOnly
< Cache-Control: private, max-age=0, must-revalidate
< Strict-Transport-Security: max-age=2592000
< Content-Encoding: gzip
< 
curl--compressed-vhttps://github.com/madler/zlib/commits/develop >/dev/null
...
是的,我想得太多了。多谢。