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);
236 $data = $http->get($this->server . '/basic-auth/user/pass');
240 $this->assertTrue($data === false, $http->errorInfo());
251 $data = $http->get($this->server . '/delay/10');
252 $this->assertTrue($data === false, $http->errorInfo());
262 $data = $http->get($this->server . '/response-headers?baz=&foo=bar');
266 $this->assertFalse($data === false, $http->errorInfo());
267 $resp = json_decode($data, true);
280 $data = $http->get($this->server . '/stream-bytes/5000?chunk_size=250');
284 $this->assertFalse($data === false, $http->errorInfo());
285 $this->assertEquals(5000, strlen($data));
297 $data = $http->get('http://www.wikimatrix.org/cfeed/dokuwiki/-/-');
301 $this->assertTrue($data !== false, $http->errorInfo());
311 // check simple data
312 $data = [
318 $this->callInaccessibleMethod($http, 'postEncode', [$data]),
323 $data = [
329 $this->callInaccessibleMethod($http, 'postEncode', [$data]),
334 $data = [
340 $this->callInaccessibleMethod($http, 'postEncode', [$data]),
345 $data = [
351 $this->callInaccessibleMethod($http, 'postEncode', [$data]),