- dont assume PHP-version or Content-Type
authorMichael Wallner <mike@php.net>
Thu, 6 Oct 2005 16:47:32 +0000 (16:47 +0000)
committerMichael Wallner <mike@php.net>
Thu, 6 Oct 2005 16:47:32 +0000 (16:47 +0000)
tests/HttpResponse_003.phpt
tests/HttpResponse_004.phpt

index 027d536c9f0443ede52bdf996b5848d6d28ea9dc..4b5941cd815463d9548091a1b94564623a922d39 100644 (file)
@@ -18,7 +18,7 @@ HttpResponse::setFile(__FILE__);
 HttpResponse::send();
 ?>
 --EXPECTF--
-X-Powered-By: PHP/5.1.0RC2-dev
+X-Powered-By: PHP/%s
 ETag: "%s"
 Cache-Control: public, must-revalidate, max_age=3600
 Last-Modified: %s, %d %s 20%d %d:%d:%d GMT
index ed198d638311ca43f55705b40605ca653a8612f5..a0f569dfe5c2ec47e62af8d376eab2b80b231c05 100644 (file)
@@ -20,7 +20,7 @@ HttpResponse::send();
 ?>
 --EXPECTF--
 Status: 304
-Content-type: text/html
-X-Powered-By: PHP/5.1.0RC2-dev
+Content-type: %s
+X-Powered-By: PHP/%s
 Cache-Control: public, must-revalidate, max_age=3600
 ETag: "80b285463881575891e86ba7bfecb4d0"