tests/test-wireproto-command-lookup.t
changeset 40049 a732d70253b0
parent 40035 393e44324037
child 45109 b1507ab0c6cf
equal deleted inserted replaced
40048:8e398628a3f2 40049:a732d70253b0
    25   > command lookup
    25   > command lookup
    26   >     key 426bada5c67598ca65036d57d9e4b64b0c1ce7a0
    26   >     key 426bada5c67598ca65036d57d9e4b64b0c1ce7a0
    27   > EOF
    27   > EOF
    28   creating http peer for wire protocol version 2
    28   creating http peer for wire protocol version 2
    29   sending lookup command
    29   sending lookup command
    30   s>     *\r\n (glob)
       
    31   s>     Accept-Encoding: identity\r\n
       
    32   s>     accept: application/mercurial-exp-framing-0005\r\n
       
    33   s>     content-type: application/mercurial-exp-framing-0005\r\n
       
    34   s>     content-length: 73\r\n
       
    35   s>     host: $LOCALIP:$HGPORT\r\n (glob)
       
    36   s>     user-agent: Mercurial debugwireproto\r\n
       
    37   s>     \r\n
       
    38   s>     A\x00\x00\x01\x00\x01\x01\x11\xa2Dargs\xa1CkeyX(426bada5c67598ca65036d57d9e4b64b0c1ce7a0DnameFlookup
       
    39   s> makefile('rb', None)
       
    40   s>     HTTP/1.1 200 OK\r\n
       
    41   s>     Server: testing stub value\r\n
       
    42   s>     Date: $HTTP_DATE$\r\n
       
    43   s>     Content-Type: application/mercurial-exp-framing-0005\r\n
       
    44   s>     Transfer-Encoding: chunked\r\n
       
    45   s>     \r\n
       
    46   s>     13\r\n
       
    47   s>     \x0b\x00\x00\x01\x00\x02\x011
       
    48   s>     \xa1FstatusBok
       
    49   s>     \r\n
       
    50   received frame(size=11; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=continuation)
       
    51   s>     1d\r\n
       
    52   s>     \x15\x00\x00\x01\x00\x02\x001
       
    53   s>     TBk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0
       
    54   s>     \r\n
       
    55   received frame(size=21; request=1; stream=2; streamflags=; type=command-response; flags=continuation)
       
    56   s>     8\r\n
       
    57   s>     \x00\x00\x00\x01\x00\x02\x002
       
    58   s>     \r\n
       
    59   s>     0\r\n
       
    60   s>     \r\n
       
    61   received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos)
       
    62   response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0'
    30   response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0'
    63   (sent 2 HTTP requests and * bytes; received * bytes in responses) (glob)
       
    64 
    31 
    65   $ cat error.log
    32   $ cat error.log