11,6 → 11,7 |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version SVN: $Id$ |
*/ |
// TODO : remplacer les trigger_error par des exceptions qui pourrait ĂȘtre attrapĂ©es... |
class CelRestClient { |
const HTTP_URL_REQUETE_SEPARATEUR = '&'; |
const HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR = '='; |
122,7 → 123,7 |
private function analyserEntete() { |
$entetes = $this->reponse_entetes; |
$infos = array('date' => null, 'uri' => $this->url, 'debogages' => null); |
|
if (isset($entetes)) { |
if (isset($entetes['wrapper_data'])) { |
$entetes = $entetes['wrapper_data']; |
} |
134,6 → 135,7 |
$infos['date'] = $match[1]; |
} |
} |
} |
return $infos; |
} |
|