/trunk/services/modules/0.1/commun/Aide.php |
---|
47,9 → 47,9 |
} |
// Gestion du type de contenu |
if (!is_null($mime) && !is_null($encodage)) { |
header("Content-Type: $mime; charset=$encodage"); |
if(strpos($_SERVER['SCRIPT_NAME'], 'phpunit') === FALSE) header("Content-Type: $mime; charset=$encodage"); |
} else if (!is_null($mime) && is_null($encodage)) { |
header("Content-Type: $mime"); |
if(strpos($_SERVER['SCRIPT_NAME'], 'phpunit') === FALSE) header("Content-Type: $mime"); |
} |
// Envoie de l'entĂȘte |
RestServeur::envoyerEnteteStatutHttp($this->entete_http); |