diff --git a/laravel/request.php b/laravel/request.php index 028670f1..510f64eb 100644 --- a/laravel/request.php +++ b/laravel/request.php @@ -81,7 +81,7 @@ public static function headers() */ public static function server($key = null, $default = null) { - return array_get(static::foundation()->server->all(), $key, $default); + return array_get(static::foundation()->server->all(), strtoupper($key), $default); } /**