tests/test-http-api-httpv2.t
changeset 40025 b099e6032f38
parent 39814 d059cb669632
child 40034 393e44324037
equal deleted inserted replaced
40024:86b22a4cfab1 40025:b099e6032f38
   428   s> makefile('rb', None)
   428   s> makefile('rb', None)
   429   s>     HTTP/1.1 200 OK\r\n
   429   s>     HTTP/1.1 200 OK\r\n
   430   s>     Server: testing stub value\r\n
   430   s>     Server: testing stub value\r\n
   431   s>     Date: $HTTP_DATE$\r\n
   431   s>     Date: $HTTP_DATE$\r\n
   432   s>     Content-Type: text/plain\r\n
   432   s>     Content-Type: text/plain\r\n
   433   s>     Content-Length: 205\r\n
   433   s>     Content-Length: 223\r\n
   434   s>     \r\n
   434   s>     \r\n
   435   s>     received: 1 1 1 \xa2Dargs\xa2Dbar1CvalCfooDval1DnameHcommand1\n
   435   s>     received: 1 1 1 \xa2Dargs\xa2Dbar1CvalCfooDval1DnameHcommand1\n
   436   s>     ["runcommand", {"args": {"bar1": "val", "foo": "val1"}, "command": "command1", "data": null, "requestid": 1}]\n
   436   s>     ["runcommand", {"args": {"bar1": "val", "foo": "val1"}, "command": "command1", "data": null, "redirect": null, "requestid": 1}]\n
   437   s>     received: <no frame>\n
   437   s>     received: <no frame>\n
   438   s>     {"action": "noop"}
   438   s>     {"action": "noop"}
   439 
   439 
   440 Multiple requests to regular command URL are not allowed
   440 Multiple requests to regular command URL are not allowed
   441 
   441