Home
last modified time | relevance | path

Searched refs:body_expected (Results 1 – 10 of 10) sorted by relevance

/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/phpunit/unit/Elgg/
H A DEmailServiceUnitTest.php30 $body_expected = trim(wordwrap(str_repeat("You & me < she.\n", 10)));
42 $this->assertEquals($body_expected, $message->getBodyText());
/dports/www/py-tornado/tornado-6.1/tornado/
H A Dcurl_httpclient.py457 body_expected = request.method in ("POST", "PATCH", "PUT")
463 if (body_expected and not body_present) or (
464 body_present and not body_expected
469 % ("not " if body_expected else "", request.method)
472 if body_expected or body_present:
H A Dsimple_httpclient.py407 body_expected = self.request.method in ("POST", "PATCH", "PUT")
412 if (body_expected and not body_present) or (
413 body_present and not body_expected
418 % ("not " if body_expected else "", self.request.method)
/dports/www/py-tornado4/tornado-4.5.3/tornado/
H A Dcurl_httpclient.py403 body_expected = request.method in ("POST", "PATCH", "PUT")
409 if ((body_expected and not body_present) or
410 (body_present and not body_expected)):
414 ('not ' if body_expected else '', request.method))
416 if body_expected or body_present:
H A Dsimple_httpclient.py363 body_expected = self.request.method in ("POST", "PATCH", "PUT")
366 if ((body_expected and not body_present) or
367 (body_present and not body_expected)):
371 ('not ' if body_expected else '', self.request.method))
/dports/www/py-tornado5/tornado-5.1.1/tornado/
H A Dcurl_httpclient.py402 body_expected = request.method in ("POST", "PATCH", "PUT")
408 if ((body_expected and not body_present) or
409 (body_present and not body_expected)):
413 ('not ' if body_expected else '', request.method))
415 if body_expected or body_present:
H A Dsimple_httpclient.py322 body_expected = self.request.method in ("POST", "PATCH", "PUT")
325 if ((body_expected and not body_present) or
326 (body_present and not body_expected)):
330 ('not ' if body_expected else '', self.request.method))
/dports/sysutils/py-salt/salt-3004.1/salt/ext/tornado/
H A Dcurl_httpclient.py404 body_expected = request.method in ("POST", "PATCH", "PUT")
410 if ((body_expected and not body_present) or
411 (body_present and not body_expected)):
415 ('not ' if body_expected else '', request.method))
417 if body_expected or body_present:
H A Dsimple_httpclient.py364 body_expected = self.request.method in ("POST", "PATCH", "PUT")
367 if ((body_expected and not body_present) or
368 (body_present and not body_expected)):
372 ('not ' if body_expected else '', self.request.method))
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_server/
H A DInkAPITest.cc8436 const char *body_expected; in cont_test_handler() local
8438 body_expected = "Body for response 9"; in cont_test_handler()
8440 body_expected = "Body for response 10"; in cont_test_handler()
8442 …sponse = \n|%s|\nBody Expected = \n|%s|", body_response ? body_response : "*NULL*", body_expected); in cont_test_handler()
8444 if (!body_response || strncmp(body_response, body_expected, strlen(body_expected)) != 0) { in cont_test_handler()