Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 26) sorted by relevance

12

/dokuwiki/_test/tests/test/
Dscope.test.php12 $response = $request->execute();
14 strpos($response->getContent(), 'DokuWiki') >= 0,
24 $response = $request->execute();
26 strpos($response->getContent(), 'DokuWiki') >= 0,
36 $response = $request->execute();
38 strpos($response->getContent(), 'DokuWiki') >= 0,
43 $response = $request->execute();
45 strpos($response->getContent(), 'DokuWiki') >= 0,
Dbasic.test.php33 $response = $request->execute();
36 strpos($response->getContent(), 'DokuWiki') !== false,
50 $response = $request->post($input);
63 $this->assertTrue(strpos($response->getContent(), 'Andreas Gohr') !== false);
74 $response = $request->post($input,'/doku.php?id=wiki:dokuwiki');
87 $this->assertTrue(strpos($response->getContent(), 'Andreas Gohr') !== false);
99 $response = $request->get($input,'/doku.php?id=wiki:dokuwiki&test=foo');
119 $this->assertTrue(strpos($response->getContent(), 'Andreas Gohr') !== false);
126 $response = $request->get();
129 $response = $request->get(array(),'/doku.php?id=wiki:dokuwiki&test=foo');
[all …]
Dedit_and_save.test.php24 $response = $request->post($input);
25 $content = $response->getContent();
57 $response = $request->post($input, '/doku.php');
58 $content = $response->getContent();
80 $response = $request->post($input, '/doku.php');
84 $found = $response->getData('send_redirect');
107 $response = $request->post($input);
108 $content = $response->getContent();
140 $response = $request->post($input, '/doku.php');
141 $content = $response->getContent();
[all …]
Dphpquery.test.php14 $response = $request->execute();
16 … $this->assertEquals('DokuWiki', $response->queryHTML('meta[name="generator"]')->attr('content') );
/dokuwiki/_test/tests/Remote/
DJsonRpcServerTest.php38 $response = json_encode($this->server->serve($positional)['result']);
39 $this->assertJsonStringEqualsJsonString($expect, $response);
41 $response = json_encode($this->server->serve($named)['result']);
42 $this->assertJsonStringEqualsJsonString($expect, $response);
55 $response = json_encode($this->server->serve($positional)['result']);
56 $this->assertJsonStringEqualsJsonString($expect, $response);
58 $response = json_encode($this->server->serve($named)['result']);
59 $this->assertJsonStringEqualsJsonString($expect, $response);
/dokuwiki/_test/tests/conf/
Dtitle.test.php9 $response = $request->get();
10 $content = $response->queryHTML('title');
15 $response = $request->get();
16 $content = $response->queryHTML('title');
/dokuwiki/_test/tests/lib/exe/
Dajax_requests.test.php40 $response = $request->post(['call'=> $call]+$post, '/lib/exe/ajax.php');
41 $this->assertNotEquals("AJAX call '$call' unknown!\n", $response->getContent());
44 $this->assertMatchesRegularExpression($regexp, $response->getContent());
50 $response = $request->post([], '/lib/exe/ajax.php');
51 $this->assertEquals('', $response->getContent());
57 $response = $request->post(['call'=> $call], '/lib/exe/ajax.php');
58 $this->assertEquals("AJAX call '$call' unknown!\n", $response->getContent());
105 $response = $request->post(['call'=> $call, 'q' => 'some-post-param'], '/lib/exe/ajax.php');
120 $this->assertEquals("captured event BEFORE\ncaptured event AFTER", $response->getContent());
Dfetch_imagetoken.test.php51 $response = $this->fetchResponse($valid_token);
52 $this->assertTrue((bool)$response->getHeader('Content-Type'));
53 $this->assertTrue((bool)($response->getContent()));
55 $status_code = $response->getStatusCode();
89 $response = $this->fetchResponse($token);
90 $this->assertTrue((bool)$response->getHeader('Content-Type'));
91 $this->assertEquals(strlen($response->getContent()), $bytes);
93 $status_code = $response->getStatusCode();
/dokuwiki/_test/tests/inc/
Dhttpclient_http.test.php24 $this->assertTrue(is_array($resp), 'JSON response');
41 $this->assertTrue(is_array($resp), 'JSON response');
58 $this->assertTrue(is_array($resp), 'JSON response');
75 $this->assertTrue(is_array($resp), 'JSON response');
92 $this->assertTrue(is_array($resp), 'JSON response');
109 $this->assertTrue(is_array($resp), 'JSON response');
145 $this->assertTrue(is_array($resp), 'JSON response');
224 $this->assertTrue(is_array($resp), 'JSON response');
262 $data = $http->get($this->server . '/response-headers?baz=&foo=bar');
268 $this->assertTrue(is_array($resp), 'JSON response');
Dhttpclient_http_proxy.test.php40 $this->assertStringContainsString('DokuWiki', $data, 'response content');
Dmailer.test.php236 $this->markTestSkipped('no response from validator');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
DSFTP.php551 $response = $this->open_channel(self::CHANNEL, true);
552 if ($response === true && $this->isTimeout()) {
568 $response = $this->get_channel_packet(self::CHANNEL, true);
569 if ($response === false) {
588 $response = $this->get_channel_packet(self::CHANNEL, true);
589 if ($response === false) {
592 } elseif ($response === true && $this->isTimeout()) {
599 $response = $this->get_sftp_packet();
607 list($this->defaultVersion) = Strings::unpackSSH2('N', $response);
608 while (!empty($response)) {
[all …]
DSSH2.php1524 $response = $this->get_binary_packet_or_close(NET_SSH2_MSG_KEXINIT);
1525 $this->key_exchange($response);
1687 $response = $kexinit_payload_server;
1688 Strings::shift($response, 1); // skip past the message number (it should be SSH_MSG_KEXINIT)
1689 $server_cookie = Strings::shift($response, 16);
1703 ) = Strings::unpackSSH2('L10C', $response);
1832 $response = $this->get_binary_packet_or_close(NET_SSH2_MSG_KEXDH_GEX_GROUP);
1833 list($type, $primeBytes, $gBytes) = Strings::unpackSSH2('Css', $response);
1872 $response = $this->get_binary_packet_or_close(constant($serverKexReplyMessage));
1879 ) = Strings::unpackSSH2('Csss', $response);
[all …]
/dokuwiki/inc/Remote/
DJsonRpcServer.php137 * @param array $response
141 protected function addErrorData(&$response, $e = null) argument
145 $response['error'] = [
153 $response['error'] = null;
156 $response['error'] = [
/dokuwiki/lib/plugins/extension/
DRepository.php94 $response = $httpclient->post(self::EXTENSION_REPOSITORY_API, $data);
95 if ($response === false) {
102 $extensions = json_decode($response, true, 512, JSON_THROW_ON_ERROR);
208 $response = $httpclient->post(self::EXTENSION_REPOSITORY_API, $query);
209 if ($response === false) {
215 $items = json_decode($response, true, 512, JSON_THROW_ON_ERROR);
/dokuwiki/inc/
DAjax.php140 $response = [
146 $response['errors'][] = 'Permission to write this page has been denied.';
147 echo json_encode($response);
153 $response['lock'] = '1';
158 $response['draft'] = $draft->getDraftMessage();
160 $response['errors'] = array_merge($response['errors'], $draft->getErrors());
162 echo json_encode($response, JSON_THROW_ON_ERROR);
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
DRedis.php138 $response = $this->cache->set($this->name, serialize($data));
143 return $response;
/dokuwiki/_test/core/
DTestRequest.php164 $response = new TestResponse(
179 return $response;
DphpQuery-onefile.php5168 $response = $client->request();
5170 self::debug('Status: '.$response->getStatus().' / '.$response->getMessage());
5172 self::debug($response->getHeaders());
5174 if ($response->isSuccessful()) {
5176 self::$lastModified = $response->getHeader('Last-Modified');
5177 $data = self::httpData($response->getBody(), $options['dataType'], $options);
5179 … phpQuery::callbackRun($options['success'], array($data, $response->getStatus(), $options));
5184 …phpQuery::callbackRun($options['error'], array($client, $response->getStatus(), $response->getMess…
5186 …er($documentID, 'ajaxError', array($client, /*$response->getStatus(),*/$response->getMessage(), $o…
5189 phpQuery::callbackRun($options['complete'], array($client, $response->getStatus()));
/dokuwiki/lib/scripts/
Dfileuploader.js864 onComplete: function(id, fileName, response){}, argument
1014 var response = self._getIframeContentJSON(iframe);
1016 self._options.onComplete(id, fileName, response);
1060 response;
1066 response = eval("(" + doc.body.innerHTML + ")"); property
1068 response = {}; property
1071 return response;
1221 var response;
1224 response = eval("(" + xhr.responseText + ")");
1226 response = {};
[all …]
Dfileuploaderextended.js254 var response = self._getIframeContentJSON(iframe);
256 self._options.onComplete(id, fileName, response);
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
DClient.php21 protected $response; variable in IXR\\Client\\Client
/dokuwiki/vendor/simplepie/simplepie/idn/
DReadMe.txt29 response (when in strict mode) or to only partially converted strings.
/dokuwiki/vendor/simplepie/simplepie/
DCHANGELOG.md155 * fix: better deal with proxy returning proxy headers (in response to cURL's Proxy-Connection heade…
/dokuwiki/lib/scripts/jquery/
Djquery.min.js2 …"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.response…

12