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

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to