Lines Matching refs:hR
143 $hR = $this->server->httpResponse;
144 $hR->setHeader('X-Sabre-Temp', 'true');
184 * @param ResponseInterface $hR
188 function httpGet(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
192 $hR->setHeader('Content-Type', 'application/octet-stream');
193 $hR->setHeader('Content-Length', filesize($tempLocation));
194 $hR->setHeader('X-Sabre-Temp', 'true');
195 $hR->setStatus(200);
196 $hR->setBody(fopen($tempLocation, 'r'));
205 * @param ResponseInterface $hR
209 function httpPut(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
211 $hR->setHeader('X-Sabre-Temp', 'true');
220 $hR->setStatus($newFile ? 201 : 200);
232 * @param ResponseInterface $hR
236 function httpDelete(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
241 $hR->setHeader('X-Sabre-Temp', 'true');
242 $hR->setStatus(204);
255 * @param ResponseInterface $hR
259 function httpPropfind(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
263 $hR->setHeader('X-Sabre-Temp', 'true');
264 $hR->setStatus(207);
265 $hR->setHeader('Content-Type', 'application/xml; charset=utf-8');
279 $hR->setBody($data);