Lines Matching refs:http
143 $http = new DokuHTTPClient();
144 $http->timeout = 30;
145 $http->headers['Authorization'] = $this->authdata['access_token'];
146 $http->headers['Accept'] = 'application/json';
147 $http->headers['X-PrettyPrint'] = '1';
154 $http->headers['Content-Type'] = 'application/json';
158 $http->sendRequest($url, $data, $method);
159 if(!$http->resp_body) {
160 dbglog('err call' . print_r($http, true), 'sfauth');
163 $resp = $json->decode($http->resp_body);
174 if($http->status < 200 || $http->status > 399) {
175 dbglog('err call' . print_r($http, true), 'sfauth');
231 $http = new DokuHTTPClient();
232 $http->headers['Accept'] = 'application/json';
233 $resp = $http->post($url, $data);
261 $http = new DokuHTTPClient();
262 $http->headers['Accept'] = 'application/json';
263 $resp = $http->post($url, array());