Lines Matching refs:body
53 $body = $response->getBody($this->contentTypes[$type]);
54 if ($body === null) {
59 $this->$method($body, array_merge($this->defaultFields, $fields));
65 * @param string $body
76 string $body,
107 if (!preg_match($pattern, $body)) {
108 echo "ERROR: Expected body does not match pattern\n";
110 var_dump($body);
119 * @param string $body
122 protected function checkStatusPlain(string $body, array $fields)
124 $this->makeStatusCheck($body, $fields, "%s:\s+%s\n");
130 * @param string $body
133 protected function checkStatusHtml(string $body, array $fields)
139 "<body>\n<table>\n";
140 $footer = "\n</table>\n</body></html>";
143 $body,
154 * @param string $body
157 protected function checkStatusXml(string $body, array $fields)
160 $body,
177 * @param string $body
180 protected function checkStatusJson(string $body, array $fields)
183 $body,