Lines Matching full:data
18 $data = $http->get($this->server . '/get?foo=bar');
22 $this->assertFalse($data === false, $http->errorInfo());
23 $resp = json_decode($data, true);
35 $data = $http->dget($this->server . '/get', ['foo' => 'bar']);
39 $this->assertFalse($data === false, $http->errorInfo());
40 $resp = json_decode($data, true);
52 $data = $http->get($this->server . '/gzip');
56 $this->assertFalse($data === false, $http->errorInfo());
57 $resp = json_decode($data, true);
69 $data = $http->post($this->server . '/post', ['foo' => 'bar']);
73 $this->assertFalse($data === false, $http->errorInfo());
74 $resp = json_decode($data, true);
86 $data = $http->get($this->server . '/redirect/3');
90 $this->assertFalse($data === false, $http->errorInfo());
91 $resp = json_decode($data, true);
103 $data = $http->get($this->server . '/relative-redirect/3');
107 $this->assertFalse($data === false, $http->errorInfo());
108 $resp = json_decode($data, true);
120 $data = $http->get($this->server . '/redirect/5');
124 $this->assertTrue($data === false, $http->errorInfo());
139 $data = $http->get($this->server . '/cookies');
143 $this->assertFalse($data === false, $http->errorInfo());
144 $resp = json_decode($data, true);
155 $data = $http->get($this->server . '/status/418');
159 $this->assertTrue($data === false, $http->errorInfo());
172 $data = $http->get($this->server . '/stream/30');
176 $this->assertTrue($data === false, $http->errorInfo());
181 $data = $http->get($this->server . '/stream/30');
185 $this->assertFalse($data === false, $http->errorInfo());
187 $this->assertLessThanOrEqual(251, strlen($data));
197 $data = $http->get($this->server . '/stream/5');
201 $this->assertTrue($data !== false, $http->errorInfo());
203 $data = $http->get($this->server . '/stream/5');
207 $this->assertTrue($data !== false, $http->errorInfo());
218 $data = $http->get($this->server . '/basic-auth/user/pass');
222 $this->assertFalse($data === false, $http->errorInfo());
223 $resp = json_decode($data, true);
240 $data = $http->get($this->server . '/basic-auth/user/pass');
244 $this->assertTrue($data === false, $http->errorInfo());
255 $data = $http->get($this->server . '/delay/10');
256 $this->assertTrue($data === false, $http->errorInfo());
266 $data = $http->get($this->server . '/response-headers?baz=&foo=bar');
270 $this->assertFalse($data === false, $http->errorInfo());
271 $resp = json_decode($data, true);
284 $data = $http->get($this->server . '/stream-bytes/5000?chunk_size=250');
288 $this->assertFalse($data === false, $http->errorInfo());
289 $this->assertEquals(5000, strlen($data));
301 $data = $http->get('http://www.wikimatrix.org/cfeed/dokuwiki/-/-');
305 $this->assertTrue($data !== false, $http->errorInfo());
315 // check simple data
316 $data = [
322 $this->callInaccessibleMethod($http, 'postEncode', [$data]),
327 $data = [
333 $this->callInaccessibleMethod($http, 'postEncode', [$data]),
338 $data = [
344 $this->callInaccessibleMethod($http, 'postEncode', [$data]),
349 $data = [
355 $this->callInaccessibleMethod($http, 'postEncode', [$data]),