header("Content-Type", $type); return $response; } }