Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Connection was lost (e.g. BadStatusLine exception)
    

src/f/t/ftw.publisher.sender-2.2.0/ftw/publisher/sender/utils.py   ftw.publisher.sender(Download)
from Products.statusmessages.interfaces import IStatusMessage
from ftw.publisher.core import communication
from ftw.publisher.core.states import ConnectionLost
from ftw.publisher.sender.persistence import Realm
from httplib import BadStatusLine
    except BadStatusLine:
        exc = ''.join(traceback.format_exception(*sys.exc_info()))
        return ConnectionLost(exc)
    return communication.parseResponse(html)