>   I see more sites in filelist.py and retrieve.py where we handle an
>   httplib.IncompleteRead exception.  Is there a reason we don't expect
>   httplib.BadStatusLine in those code paths?

As far as I can tell, it's only possible to get a BadStatusLine when the
connection is being opened and httplib is looking at the status of the
response.  Urllib2 is the only caller of getresponse that I can find.
That's the code path that can generate a BadStatusLine.  This only
happens as part of do_open().  I think it's safe to put the except
block only around versioned_urlopen.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to