
21 Dec
2006
21 Dec
'06
2:27 a.m.
Hi,
I need to implement a REST-style web service that has 1) persistent connections and 2) pipelining. From reading the web2 source code it looks like the client/server can now do this. Is this the case. To enable pipelining, do I simply make the change?
class HTTPClientProtocol(basic.LineReceiver, policies.TimeoutMixin, object): """A HTTP 1.1 Client with request pipelining support."""
chanRequest = None maxHeaderLength = 10240 firstLine = 1 readPersistent = PERSIST_NO_PIPELINE
----->
readPersistent = PERSIST_PIPELINE
Thanks!
Brian
6192
Age (days ago)
6192
Last active (days ago)
0 comments
1 participants
participants (1)
-
Brian Granger