Assume I can verify that a group of POST
requests is actually logical Is, how am I setting up HTTP pipelining using python-request
and forcing it to allow POST
requests in the pipeline?
Does anyone have an example job?
For additional points, how to solve errors for excellent requests, if the pipeline suddenly breaks down?
P.P.S. grequests
is not an option in this case.
request
library.
You can do pipelining using approximated grequests
, which makes it easy to run many requests in parallel, but every parallel request still Use a new TCP connection.
(The request
connection does the connection, if the TCP connection is open, if the remote server permits this, but it only helps in sequential connection, and the request and response Is still optional).
No comments:
Post a Comment