tests/test-http-protocol.t
changeset 37483 61e405fb6372
parent 37413 33af46d639b4
child 37498 aacfca6f9767
equal deleted inserted replaced
37482:fa9faf58959d 37483:61e405fb6372
   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>     accept: application/mercurial-0.1\r\n
   180   s>     accept: application/mercurial-0.1\r\n
   181   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   181   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   182   s>     user-agent: mercurial/proto-1.0 (Mercurial *)\r\n (glob)
   182   s>     user-agent: Mercurial debugwireproto\r\n
   183   s>     \r\n
   183   s>     \r\n
   184   s> makefile('rb', None)
   184   s> makefile('rb', None)
   185   s>     HTTP/1.1 200 Script output follows\r\n
   185   s>     HTTP/1.1 200 Script output follows\r\n
   186   s>     Server: testing stub value\r\n
   186   s>     Server: testing stub value\r\n
   187   s>     Date: $HTTP_DATE$\r\n
   187   s>     Date: $HTTP_DATE$\r\n
   195   s>     vary: X-HgArg-1,X-HgProto-1\r\n
   195   s>     vary: X-HgArg-1,X-HgProto-1\r\n
   196   s>     x-hgarg-1: namespace=namespaces\r\n
   196   s>     x-hgarg-1: namespace=namespaces\r\n
   197   s>     x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
   197   s>     x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
   198   s>     accept: application/mercurial-0.1\r\n
   198   s>     accept: application/mercurial-0.1\r\n
   199   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   199   s>     host: $LOCALIP:$HGPORT\r\n (glob)
   200   s>     user-agent: mercurial/proto-1.0 (Mercurial *)\r\n (glob)
   200   s>     user-agent: Mercurial debugwireproto\r\n
   201   s>     \r\n
   201   s>     \r\n
   202   s> makefile('rb', None)
   202   s> makefile('rb', None)
   203   s>     HTTP/1.1 200 Script output follows\r\n
   203   s>     HTTP/1.1 200 Script output follows\r\n
   204   s>     Server: testing stub value\r\n
   204   s>     Server: testing stub value\r\n
   205   s>     Date: $HTTP_DATE$\r\n
   205   s>     Date: $HTTP_DATE$\r\n