Issuing multiple requests using HTTP/1.1 Pipelining

会有一股神秘感。 提交于 2019-11-30 19:47:32

Pipelining is just that -- having more than one request "in flight" on a single connection.

On the open Internet, pipelining isn't very common, because a few servers and intermediaries don't get it right, and the consequences of messing up pipelining can be severe (e.g., mixing up responses to two different users).

Keep in mind that only HTTP/1.1 supports pipelining; if you have a HTTP/1.0 server, or a 1.0 proxy in the middle, it probably won't work.

Also, pipelining can only be used on "idempotent" methods like GET and HEAD; it isn't allowed for POST, etc.

See: http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-09#section-7.1.2.2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!