tests/test-wireproto-command-heads.t
changeset 39819 d059cb669632
parent 39575 07b58266bce3
child 40035 393e44324037
equal deleted inserted replaced
39818:c30faea8d02d 39819:d059cb669632
    33   $ sendhttpv2peer << EOF
    33   $ sendhttpv2peer << EOF
    34   > command heads
    34   > command heads
    35   > EOF
    35   > EOF
    36   creating http peer for wire protocol version 2
    36   creating http peer for wire protocol version 2
    37   sending heads command
    37   sending heads command
    38   s>     POST /api/exp-http-v2-0001/ro/heads HTTP/1.1\r\n
    38   s>     POST /api/exp-http-v2-0002/ro/heads HTTP/1.1\r\n
    39   s>     Accept-Encoding: identity\r\n
    39   s>     Accept-Encoding: identity\r\n
    40   s>     accept: application/mercurial-exp-framing-0005\r\n
    40   s>     accept: application/mercurial-exp-framing-0005\r\n
    41   s>     content-type: application/mercurial-exp-framing-0005\r\n
    41   s>     content-type: application/mercurial-exp-framing-0005\r\n
    42   s>     content-length: 20\r\n
    42   s>     content-length: 20\r\n
    43   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    43   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    79   > command heads
    79   > command heads
    80   >     publiconly 1
    80   >     publiconly 1
    81   > EOF
    81   > EOF
    82   creating http peer for wire protocol version 2
    82   creating http peer for wire protocol version 2
    83   sending heads command
    83   sending heads command
    84   s>     POST /api/exp-http-v2-0001/ro/heads HTTP/1.1\r\n
    84   s>     POST /api/exp-http-v2-0002/ro/heads HTTP/1.1\r\n
    85   s>     Accept-Encoding: identity\r\n
    85   s>     Accept-Encoding: identity\r\n
    86   s>     accept: application/mercurial-exp-framing-0005\r\n
    86   s>     accept: application/mercurial-exp-framing-0005\r\n
    87   s>     content-type: application/mercurial-exp-framing-0005\r\n
    87   s>     content-type: application/mercurial-exp-framing-0005\r\n
    88   s>     content-length: 39\r\n
    88   s>     content-length: 39\r\n
    89   s>     host: $LOCALIP:$HGPORT\r\n (glob)
    89   s>     host: $LOCALIP:$HGPORT\r\n (glob)