HTTP请求/响应头的平均大小是多少? [英] What is the average size of an HTTP request/response header?

查看:1898
本文介绍了HTTP请求/响应头的平均大小是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这听起来很愚蠢。

I know this sounds stupid.

我正在使用只有16MB RAM的嵌入式平台。我需要深度数据包过滤HTTP流。为了防止设备的DoS,我想要一些关于HTTP流大小的统计平均值,特别是HTTP标头。

I am working with an embedded platform that has 16MB of RAM only. And I need to deep packet filter HTTP streams. To prevent DoS of the device I'd like some statistical averages regarding HTTP stream sizes, specifically the HTTP header in particular.

推荐答案

来自 Google的SPDY研究项目白皮书

未压缩的请求和响应标头。今天的请求标头大小从大约200字节到大于2KB 。随着应用程序使用更多cookie和用户代理扩展功能,典型的标头大小为700-800字节是常见的。

Uncompressed request and response headers. Request headers today vary in size from ~200 bytes to over 2KB. As applications use more cookies and user agents expand features, typical header sizes of 700-800 bytes is common.

这篇关于HTTP请求/响应头的平均大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆