What is the average size of an HTTP request/response header?

前端 未结 4 1887
北恋
北恋 2020-12-29 01:02

I am working with an embedded platform that has 16MB of RAM only. And I need to deep packet filter HTTP streams. To prevent a Denial of Service attack on the device I\'d lik

4条回答
  •  春和景丽
    2020-12-29 01:48

    I don't have any statistics to back this up (what does it mean to take a statistical average of HTTP header sizes? average over what?), but from anecdotal experience a typical HTTP header is 0.5KB and might go up to 1K or 2K (depending on cookie size, etc.). You could theoretically get HTTP headers up to 4K or 8K but that is fairly rare.

提交回复
热议问题