X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/a460539284aca97046cfd0b46d2c6dd832b43c39..613d09d06d7bab3c6d91fd1b5b231e54c7304480:/src/shpub/Request.php diff --git a/src/shpub/Request.php b/src/shpub/Request.php index 4437164..e7c3b77 100644 --- a/src/shpub/Request.php +++ b/src/shpub/Request.php @@ -99,6 +99,7 @@ class Request //fake a successful response $res = new \HTTP_Request2_Response('HTTP/1.1 200 OK', false); $res->parseHeaderLine('Content-type: text/plain'); + $res->parseHeaderLine('Location: http://example.org/fake-response'); $res->appendBody('Fake --dry-run response'); return $res; }