tests/test-http-protocol.t
changeset 37498 aacfca6f9767
parent 37483 61e405fb6372
child 37556 b77aa48ba690
equal deleted inserted replaced
37497:1541e1a8e87d 37498:aacfca6f9767
   175   > command listkeys
   175   > command listkeys
   176   >     namespace namespaces
   176   >     namespace namespaces
   177   > EOF
   177   > EOF
   178   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   178   s>     GET /?cmd=capabilities HTTP/1.1\r\n
   179   s>     Accept-Encoding: identity\r\n
   179   s>     Accept-Encoding: identity\r\n
       
   180   s>     vary: X-HgProto-1\r\n
       
   181   s>     x-hgproto-1: partial-pull\r\n
   180   s>     accept: application/mercurial-0.1\r\n
   182   s>     accept: application/mercurial-0.1\r\n
   181   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   183   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   182   s>     user-agent: Mercurial debugwireproto\r\n
   184   s>     user-agent: Mercurial debugwireproto\r\n
   183   s>     \r\n
   185   s>     \r\n
   184   s> makefile('rb', None)
   186   s> makefile('rb', None)
   192   sending listkeys command
   194   sending listkeys command
   193   s>     GET /?cmd=listkeys HTTP/1.1\r\n
   195   s>     GET /?cmd=listkeys HTTP/1.1\r\n
   194   s>     Accept-Encoding: identity\r\n
   196   s>     Accept-Encoding: identity\r\n
   195   s>     vary: X-HgArg-1,X-HgProto-1\r\n
   197   s>     vary: X-HgArg-1,X-HgProto-1\r\n
   196   s>     x-hgarg-1: namespace=namespaces\r\n
   198   s>     x-hgarg-1: namespace=namespaces\r\n
   197   s>     x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
   199   s>     x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull\r\n
   198   s>     accept: application/mercurial-0.1\r\n
   200   s>     accept: application/mercurial-0.1\r\n
   199   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   201   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   200   s>     user-agent: Mercurial debugwireproto\r\n
   202   s>     user-agent: Mercurial debugwireproto\r\n
   201   s>     \r\n
   203   s>     \r\n
   202   s> makefile('rb', None)
   204   s> makefile('rb', None)