Lines Matching refs:bar
18 $data = $http->get($this->server . '/get?foo=bar');
26 $this->assertEquals(['foo' => ['bar']], $resp['args']);
35 $data = $http->dget($this->server . '/get', ['foo' => 'bar']);
43 $this->assertEquals(['foo' => ['bar']], $resp['args']);
69 $data = $http->post($this->server . '/post', ['foo' => 'bar']);
77 $this->assertEquals(['foo' => ['bar']], $resp['form']);
134 $http->get($this->server . '/cookies/set?foo=bar');
138 $this->assertEquals(['foo' => 'bar'], $http->cookies);
146 $this->assertEquals(['foo' => 'bar'], $resp);
262 $data = $http->get($this->server . '/response-headers?baz=&foo=bar');
271 $this->assertEquals('bar', $http->resp_headers['foo']);