urllib and keep-alive header

swellfr at googlemail.com swellfr at googlemail.com
Mon May 18 23:38:53 CEST 2009

I would like to know if it is possible to create a connection to a web
server that keeps the underlying socket alive ( Connection : Keep-
Alive header in the HTTP request ) between request ( and can also be
closed on request )

Can someone provide me a small example showing it.


More information about the Python-list mailing list