Lines Matching refs:hR
146 $hR = $this->server->httpResponse;
147 $hR->setHeader('X-Sabre-Temp', 'true');
187 * @param ResponseInterface $hR
191 function httpGet(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
195 $hR->setHeader('Content-Type', 'application/octet-stream');
196 $hR->setHeader('Content-Length', filesize($tempLocation));
197 $hR->setHeader('X-Sabre-Temp', 'true');
198 $hR->setStatus(200);
199 $hR->setBody(fopen($tempLocation, 'r'));
208 * @param ResponseInterface $hR
212 function httpPut(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
214 $hR->setHeader('X-Sabre-Temp', 'true');
223 $hR->setStatus($newFile ? 201 : 200);
235 * @param ResponseInterface $hR
239 function httpDelete(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
244 $hR->setHeader('X-Sabre-Temp', 'true');
245 $hR->setStatus(204);
258 * @param ResponseInterface $hR
262 function httpPropfind(RequestInterface $request, ResponseInterface $hR, $tempLocation) { argument
266 $hR->setHeader('X-Sabre-Temp', 'true');
267 $hR->setStatus(207);
268 $hR->setHeader('Content-Type', 'application/xml; charset=utf-8');
282 $hR->setBody($data);