Subversion Repositories Applications.wikini

Compare Revisions

Ignore whitespace Rev 34 → Rev 35

/trunk/api/rest/modules/0.5/Service.php
36,5 → 36,14
header($e->getCode());
echo $e->getMessage();
}
protected function envoyerCreationEffectuee() {
header('HTTP/1.1 201 Created');
echo "OK";
}
 
protected function envoyerErreurServeur() {
header('HTTP/1.1 500 Internal Server Error');
}
}
?>