[Twisted-web] HTTP/1.1 Persistent Connections and Pipelining

Syver Enstad syver at inout.no
Tue Oct 26 03:21:00 MDT 2004


Seun Osewa <naijasms at gmail.com> writes:

> == FROM THE DOCUMENTATION ==
> "Alternatively, they can return a special constant,
> twisted.web.server.NOT_DONE_YET, which tells the web server not to
> close the connection;
> 
> Doesn't this mean the web server automatically closes HTTP connections
> when request.close() is called?

This has nothing to do with persistent connections. It just means that
you have callbacks that must be triggered before the response will be
finished.





More information about the Twisted-web mailing list