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

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

src/g/r/gruvi-0.9.2/tests/test_http.py   gruvi(Download)
    def test_pipelined_head_responses(self):
        r = b'HTTP/1.1 200 OK\r\nContent-Length: 3\r\n\r\n' \
            b'HTTP/1.1 200 OK\r\nContent-Length: 3\r\n\r\n'
        parser = HttpParser()
        parser.push_request('HEAD')
        parser.push_request('HEAD')

src/g/r/gruvi-HEAD/tests/test_http.py   gruvi(Download)
    def test_pipelined_head_responses(self):
        r = b'HTTP/1.1 200 OK\r\nContent-Length: 3\r\n\r\n' \
            b'HTTP/1.1 200 OK\r\nContent-Length: 3\r\n\r\n'
        parser = HttpParser()
        parser.push_request('HEAD')
        parser.push_request('HEAD')