Fix #27: Allow case-insensitive access to request headers and response headers

This commit is contained in:
Zach Borboa
2014-03-14 01:27:06 -07:00
parent 875f636931
commit 6c9709af59
3 changed files with 98 additions and 1 deletions
+5
View File
@@ -79,6 +79,11 @@ else if ($test === 'cookiejar') {
setcookie('mycookie', 'yum');
exit;
}
else if ($test === 'response_header') {
header('Content-Type: application/json');
header('ETag: ' . md5('worldpeace'));
exit;
}
header('Content-Type: text/plain');