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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/i/digsby-HEAD/digsby/src/common/proxysockets.py   digsby(Download)
    def __init__(self, proxy, conn, post):
        asocket.__init__(self, conn)
 
        self.callback = None
        self.post_negotiate = post
        def __init__(self, *a, **k):
            asocket.__init__(self, *a, **k)
            self.set_terminator('\r\n\r\n')
            self.push('HEAD / HTTP/1.0\r\n\r\n')
            self.push_handler(lambda d: log.info(repr(d)))