This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author C19
Recipients C19
Date 2013-01-12.08:22:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357978978.63.0.0191382102505.issue16942@psf.upfronthosting.co.za>
In-reply-to
Content
# TODO(jhylton): Should this be redesigned to handle
        # persistent connections?

        # We want to make an HTTP/1.1 request, but the addinfourl
        # class isn't prepared to deal with a persistent connection.
        # It will try to read all remaining data from the socket,
        # which will block while the server waits for the next request.
        # So make sure the connection gets closed after the (only)
        # request.
        headers["Connection"] = "close"

http://bugs.python.org/issue9740
this has been a long time..how many is annoyed by this..Count me in..
persistent connections may not be easy on various OS and act the same.
I'm just satisfied if it works on linux.
History
Date User Action Args
2013-01-12 08:22:59C19setrecipients: + C19
2013-01-12 08:22:58C19setmessageid: <1357978978.63.0.0191382102505.issue16942@psf.upfronthosting.co.za>
2013-01-12 08:22:58C19linkissue16942 messages
2013-01-12 08:22:56C19create