tests/test-wireproto-command-lookup.t
changeset 37725 3ea8323d6f95
parent 37724 deff7cf7eefd
child 39559 07b58266bce3
equal deleted inserted replaced
37724:deff7cf7eefd 37725:3ea8323d6f95
    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)
    30   s>     *\r\n (glob)
    31   s>     Accept-Encoding: identity\r\n
    31   s>     Accept-Encoding: identity\r\n
    32   s>     accept: application/mercurial-exp-framing-0004\r\n
    32   s>     accept: application/mercurial-exp-framing-0005\r\n
    33   s>     content-type: application/mercurial-exp-framing-0004\r\n
    33   s>     content-type: application/mercurial-exp-framing-0005\r\n
    34   s>     content-length: 73\r\n
    34   s>     content-length: 73\r\n
    35   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    35   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    36   s>     user-agent: Mercurial debugwireproto\r\n
    36   s>     user-agent: Mercurial debugwireproto\r\n
    37   s>     \r\n
    37   s>     \r\n
    38   s>     A\x00\x00\x01\x00\x01\x01\x11\xa2Dargs\xa1CkeyX(426bada5c67598ca65036d57d9e4b64b0c1ce7a0DnameFlookup
    38   s>     A\x00\x00\x01\x00\x01\x01\x11\xa2Dargs\xa1CkeyX(426bada5c67598ca65036d57d9e4b64b0c1ce7a0DnameFlookup
    39   s> makefile('rb', None)
    39   s> makefile('rb', None)
    40   s>     HTTP/1.1 200 OK\r\n
    40   s>     HTTP/1.1 200 OK\r\n
    41   s>     Server: testing stub value\r\n
    41   s>     Server: testing stub value\r\n
    42   s>     Date: $HTTP_DATE$\r\n
    42   s>     Date: $HTTP_DATE$\r\n
    43   s>     Content-Type: application/mercurial-exp-framing-0004\r\n
    43   s>     Content-Type: application/mercurial-exp-framing-0005\r\n
    44   s>     Transfer-Encoding: chunked\r\n
    44   s>     Transfer-Encoding: chunked\r\n
    45   s>     \r\n
    45   s>     \r\n
    46   s>     1d\r\n
    46   s>     28\r\n
    47   s>     \x15\x00\x00\x01\x00\x02\x012
    47   s>      \x00\x00\x01\x00\x02\x012
    48   s>     TBk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0
    48   s>     \xa1FstatusBokTBk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0
    49   s>     \r\n
    49   s>     \r\n
    50   received frame(size=21; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    50   received frame(size=32; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    51   s>     0\r\n
    51   s>     0\r\n
    52   s>     \r\n
    52   s>     \r\n
    53   response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0'
    53   response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0'
    54 
    54 
    55   $ cat error.log
    55   $ cat error.log