public function header($code = 200) { if (!is_array($code)) { $code = [$code]; } self::$header = array(); while (list($key, $value) = each($code)) { if (is_int($value)) { self::$header[] = $_SERVER["SERVER_PROTOCOL"] . ' ' . Route::$HTTP_RESPONSE[$value]; } else { self::$header[] = $value; } } }