Update uri.php

This commit is contained in:
Namhyeon Go 2018-08-25 00:19:22 +09:00 committed by GitHub
parent e70e75f045
commit d101bbe6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,8 @@ if(!function_exists("check_is_string_not_array")) {
}
if(!function_exists("set_header_content_type")) {
function set_header_content_type($type) {
function set_header_content_type($type)
$type = strtolower($type);
$rules = array(
"json" => "application/json",
"xml" => "text/xml",