Lines Matching refs:response

49             $this->response->getHeaders()
52 $this->assertEquals(400, $this->response->status);
71 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
72 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
74 …$this->assertEquals(200, $this->response->status,'Got an incorrect status back. Response body: ' .…
76 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
99 …n "' . $elem . '". ' . count($data) . ' were found. Full response body: ' . $this->response->body);
106 …$this->assertEquals($this->response->getHeader('Lock-Token'),'<' . (string)$token[0] . '>','Token …
128 $this->response = new HTTP\ResponseMock();
129 $this->server->httpResponse = $this->response;
133 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
135 … $this->assertEquals(423, $this->response->status, 'Full response: ' . $this->response->body);
157 $lockToken = $this->response->getHeader('Lock-Token');
159 $this->response = new HTTP\ResponseMock();
160 $this->server->httpResponse = $this->response;
168 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
170 …is->assertEquals(200, $this->response->status,'We received an incorrect status code. Full response…
192 $lockToken = $this->response->getHeader('Lock-Token');
194 $this->response = new HTTP\ResponseMock();
195 $this->server->httpResponse = $this->response;
203 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
205 …>assertEquals(423, $this->response->getStatus(),'We received an incorrect status code. Full respon…
227 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
228 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
230 $this->assertEquals(201, $this->response->status);
247 $this->response->getHeaders()
250 $this->assertEquals(400, $this->response->status);
267 $this->response->getHeaders()
270 …$this->assertEquals(409, $this->response->status, 'Got an incorrect status code. Full response bod…
292 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
293 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
295 $this->assertEquals(200, $this->response->status);
302 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
303 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
305 $this->assertEquals(423, $this->response->status);
334 …httpResponse->status,'Got an incorrect status code. Full response body: ' . $this->response->body);
373 …httpResponse->status,'Got an incorrect status code. Full response body: ' . $this->response->body);
435 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
436 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
438 $this->assertEquals(200, $this->response->status);
451 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
452 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
455 $this->assertEquals(423, $this->response->status);
482 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
483 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
485 $this->assertEquals(200, $this->response->status);
496 $this->assertEquals(423, $this->response->status);
497 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
523 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
524 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
526 $this->assertEquals(200, $this->response->status);
531 'HTTP_IF' => '(' . $this->response->getHeader('Lock-Token') . ')',
538 $this->assertEquals(204, $this->response->status);
539 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
566 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
567 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
569 $this->assertEquals(200, $this->response->status);
581 …$this->assertEquals(201, $this->response->status,'Copy must succeed if only the source is locked, …
582 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
608 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
609 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
611 $this->assertEquals(201, $this->response->status);
623 …$this->assertEquals(423, $this->response->status,'Copy must succeed if only the source is locked, …
624 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
651 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
652 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
654 $this->assertEquals(200, $this->response->status);
666 …$this->assertEquals(423, $this->response->status,'Copy must succeed if only the source is locked, …
667 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
694 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
695 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
697 $this->assertEquals(200, $this->response->status);
703 'HTTP_IF' => '(' . $this->response->getHeader('Lock-Token') . ')',
710 …his->response->status,'A valid lock-token was provided for the source, so this MOVE operation must…
737 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
738 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
740 $this->assertEquals(201, $this->response->status);
752 …$this->assertEquals(423, $this->response->status,'Copy must succeed if only the source is locked, …
753 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
780 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
781 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
783 $this->assertEquals(200,$this->response->status);
789 'HTTP_IF' => '</dir> (' . $this->response->getHeader('Lock-Token') . ')',
796 …$this->assertEquals(201, $this->response->status,'We locked the parent of both the source and dest…
797 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
824 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
825 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
827 $this->assertEquals(200, $this->response->status);
832 'HTTP_IF' => '('.$this->response->getHeader('Lock-Token').')',
840 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
841 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
843 $this->assertEquals(204, $this->response->status);
865 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
866 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
868 $this->assertEquals(201, $this->response->getStatus());
873 ['If' => '</unrelated.txt> ('.$this->response->getHeader('Lock-Token').')']
879 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
880 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
882 $this->assertEquals(204, $this->response->status);
898 $this->assertEquals(412, $this->response->status);
927 …$this->assertEquals(204, $this->response->status, 'Incorrect status received. Full response body:'…
942 $this->assertEquals(412, $this->response->status);