tests/test-http-protocol.t
changeset 37300 2f859ad7ed8c
parent 37053 cd0ca979a8b8
child 37322 a67fd1fe5109
equal deleted inserted replaced
37299:e9aadee698cf 37300:2f859ad7ed8c
   207   s>     Content-Length: 30\r\n
   207   s>     Content-Length: 30\r\n
   208   s>     \r\n
   208   s>     \r\n
   209   s>     bookmarks	\n
   209   s>     bookmarks	\n
   210   s>     namespaces	\n
   210   s>     namespaces	\n
   211   s>     phases	
   211   s>     phases	
   212   response: bookmarks	\nnamespaces	\nphases	
   212   response: b'bookmarks	\nnamespaces	\nphases	'
   213 
   213 
   214 Same thing, but with "httprequest" command
   214 Same thing, but with "httprequest" command
   215 
   215 
   216   $ hg --verbose debugwireproto --peer raw http://$LOCALIP:$HGPORT << EOF
   216   $ hg --verbose debugwireproto --peer raw http://$LOCALIP:$HGPORT << EOF
   217   > httprequest GET ?cmd=listkeys
   217   > httprequest GET ?cmd=listkeys