diff options
author | Felipe Pena <felipe@php.net> | 2009-05-16 17:02:02 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-05-16 17:02:02 +0000 |
commit | cc2c1c3360f53a687a2784ed43d322bf0f7eefe5 (patch) | |
tree | 12c22d8467eee8a3262b97ee795b9f418d05375f | |
parent | 79b099b6382000080912527d906babd7e2f69248 (diff) | |
download | php-git-cc2c1c3360f53a687a2784ed43d322bf0f7eefe5.tar.gz |
- Added changes from testfest ParisUG && Changed line endings
-rw-r--r-- | ext/curl/tests/responder/get.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/curl/tests/responder/get.php b/ext/curl/tests/responder/get.php index 630ed09684..26dd5198a6 100644 --- a/ext/curl/tests/responder/get.php +++ b/ext/curl/tests/responder/get.php @@ -10,9 +10,21 @@ case 'useragent': echo $_SERVER['HTTP_USER_AGENT']; break; + case 'httpversion': + echo $_SERVER['SERVER_PROTOCOL']; + break; + case 'cookie': + echo $_COOKIE['foo']; + break; + case 'encoding': + echo $_SERVER['HTTP_ACCEPT_ENCODING']; + break; + case 'contenttype': + header('Content-Type: text/plain;charset=utf-8'); + break; default: echo "Hello World!\n"; echo "Hello World!"; break; } -?>
\ No newline at end of file +?> |