tests/test-wireproto-command-pushkey.t
changeset 37724 deff7cf7eefd
parent 37722 89a16704114c
child 37725 3ea8323d6f95
equal deleted inserted replaced
37723:e8fba6d578f0 37724:deff7cf7eefd
    45   s>     Date: $HTTP_DATE$\r\n
    45   s>     Date: $HTTP_DATE$\r\n
    46   s>     Content-Type: application/mercurial-exp-framing-0004\r\n
    46   s>     Content-Type: application/mercurial-exp-framing-0004\r\n
    47   s>     Transfer-Encoding: chunked\r\n
    47   s>     Transfer-Encoding: chunked\r\n
    48   s>     \r\n
    48   s>     \r\n
    49   s>     9\r\n
    49   s>     9\r\n
    50   s>     \x01\x00\x00\x01\x00\x02\x01B
    50   s>     \x01\x00\x00\x01\x00\x02\x012
    51   s>     \xf5
    51   s>     \xf5
    52   s>     \r\n
    52   s>     \r\n
    53   received frame(size=1; request=1; stream=2; streamflags=stream-begin; type=bytes-response; flags=eos)
    53   received frame(size=1; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    54   s>     0\r\n
    54   s>     0\r\n
    55   s>     \r\n
    55   s>     \r\n
    56   response: True
    56   response: True
    57 
    57 
    58   $ sendhttpv2peer << EOF
    58   $ sendhttpv2peer << EOF
    76   s>     Date: $HTTP_DATE$\r\n
    76   s>     Date: $HTTP_DATE$\r\n
    77   s>     Content-Type: application/mercurial-exp-framing-0004\r\n
    77   s>     Content-Type: application/mercurial-exp-framing-0004\r\n
    78   s>     Transfer-Encoding: chunked\r\n
    78   s>     Transfer-Encoding: chunked\r\n
    79   s>     \r\n
    79   s>     \r\n
    80   s>     35\r\n
    80   s>     35\r\n
    81   s>     -\x00\x00\x01\x00\x02\x01B
    81   s>     -\x00\x00\x01\x00\x02\x012
    82   s>     \xa1A@X(426bada5c67598ca65036d57d9e4b64b0c1ce7a0
    82   s>     \xa1A@X(426bada5c67598ca65036d57d9e4b64b0c1ce7a0
    83   s>     \r\n
    83   s>     \r\n
    84   received frame(size=45; request=1; stream=2; streamflags=stream-begin; type=bytes-response; flags=eos)
    84   received frame(size=45; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos)
    85   s>     0\r\n
    85   s>     0\r\n
    86   s>     \r\n
    86   s>     \r\n
    87   response: {b'@': b'426bada5c67598ca65036d57d9e4b64b0c1ce7a0'}
    87   response: {b'@': b'426bada5c67598ca65036d57d9e4b64b0c1ce7a0'}
    88 
    88 
    89   $ cat error.log
    89   $ cat error.log