我们怎么能欺骗HTTP协议? [英] How could we fool the HTTP protocol?

查看:178
本文介绍了我们怎么能欺骗HTTP协议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管HTTP无处不在,但它带来了Headers的包袱,在我看来它正变得越来越成问题。
我要传输的数据是HTTP头大小的iota。

Although HTTP is ubiquitous it comes with its baggage of Headers which in my case is becoming more of a problem. My data to be transferred is an iota of the HTTP header size.


  • 是否有另外一种我可以使用
    使用的协议,这仍然是
    浏览器和其他网络所理解的提供HTTP的
    行李?

  • 任何其他方式跳过标题并将其添加到目的地,因此只有极少数数据通过网络传输?

推荐答案


  1. 否。

  2. 否。

许多HTTP标头是可选的。典型的浏览器请求比最小请求大得多,这可能看起来像:

Many HTTP headers are optional. A typical browser request is much larger than a minimal request, which might look like:

GET /doc HTTP/1.1
Host: example.com
Connection: close

(我可以放心地说请求这种形式的工作原因是我通过 telnet example.com 80 测试Web服务器响应时一直使用它们。)

(I can say with confidence that requests of this form work because I use them all the time when testing Web server response via telnet example.com 80.)

可能只需省略一些标题即可获得有用的结果。

Possibly you can get useful results simply by omitting some headers.

这篇关于我们怎么能欺骗HTTP协议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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