R. David Murray added the comment:
This is a duplicate of issue 12849. I'm not sure that we support keep-alive
using urllib. We do using httplib, if I understand correctly.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
supersed
New submission from Santiago Velasco:
I have noticed that urllib2 will always send the 'connection: close' in the
headers, looking at the code there is no way to override this from outside of
the open method.
I am currently working with a server that kills connection upon reading the
header,