Subversion Repositories Applications.framework

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
494 2866 d 7 h mathias /trunk/framework/ Suppression d'une ligne donnant lieu à un warning  
/trunk/framework/RestClient.php
473 3852 d 5 h jpm /trunk/framework/ Refactorisation :
- 2 méthode pour utilisation CURL ou STREAM.
- message d'erreur lors des échecs de requête HTTP
Correction erreur nom de variable dans l'analyse des entêtes...
 
/trunk/framework/RestClient.php
439 4001 d 6 h raphael /trunk/framework/ curl: désactivation (cf 428) sur GET car problème étrange liés aux redirections d'URL  
/trunk/framework/RestClient.php
438 4004 d 5 h raphael /trunk/framework/ bugfix: regression de r428: omission du CURL-FOLLOWLOCATION en cas de 301.
Le traitement des 301 et l'analyse des headers/content sont désormais corrects.
Exemple: http://www.tela-botanica.org/bdtfx-nn-35920 , onglet "Illustrations", section "Photoflora"
 
/trunk/framework/RestClient.php
428 4109 d 8 h raphael /trunk/framework/ rest: Ajout du support pour php-cUrl.
curl est plus efficace et plus puissant que le fopen() de PHP.
Cependant son usage diffère légèrement et la façon dont sont renvoyés
les entêtes aussi.
Pour cette raison nous ne l'activons par défaut (s'il est présent),
que pour des requêtes HTTP GET pour l'instant.

Une suite de tests unitaires serait fort utile avant de généraliser une
tel modification.

Notons enfin qu'idéalement, le code appelant devrait être indépendant de
'wrapper_data' dont la valeur n'est initialisée que dans le cadre des appels PHP.
 
/trunk/framework/RestClient.php
353 4806 d 5 h jpm / Suppression d'un argument inutile pour la méthode getReponseEntetes  
/branches/v0.3-aleaume/framework/RestClient.php
/trunk/framework/RestClient.php
350 4852 d 5 h jpm / Encodage des parametres de l'url.  
/branches/v0.3-aleaume/framework/RestClient.php
/trunk/framework/RestClient.php
349 4852 d 5 h jpm / Ajout d'une constante oubliée et correction gestion de l'url dans l'envoie de la requete.  
/branches/v0.3-aleaume/framework/RestClient.php
/trunk/framework/RestClient.php
348 4852 d 6 h jpm / Correction erreur de nom de constante.  
/branches/v0.3-aleaume/framework/RestClient.php
/trunk/framework/RestClient.php
299 5001 d 7 h jpm /trunk/framework/ Ajout de la gestion des keywords svn.  
/trunk/framework/Cache.php
/trunk/framework/CacheFichier.php
/trunk/framework/CacheSimple.php
/trunk/framework/CacheSqlite.php
/trunk/framework/Cli.php
/trunk/framework/I18n.php
/trunk/framework/OpenIdClient.php
/trunk/framework/RestClient.php
/trunk/framework/RestServeur.php
/trunk/framework/RestService.php
/trunk/framework/Script.php
/trunk/framework/utilitaires/Chaine.php
/trunk/framework/utilitaires/DiffieHellmanUtil.php
/trunk/framework/utilitaires/Encodage.php
/trunk/framework/utilitaires/Fichier.php
/trunk/framework/utilitaires/Pattern.php
/trunk/framework/utilitaires/Storage.php
/trunk/framework/utilitaires/StorageFile.php
/trunk/framework/utilitaires/Tableau.php
287 5014 d 9 h jpm /trunk/ Renommage des classes servant aux services web REST : préfixées par Rest  
/trunk/framework/RestClient.php
/trunk/framework/RestServeur.php
/trunk/framework/RestService.php
/trunk/framework/Client.php
/trunk/framework/Serveur.php
/trunk/framework/Service.php
/trunk/exemple/services/index.php
/trunk/exemple/services/modules/0.1/MonService.php
/trunk/exemple/services/modules/0.1/ServiceCacheFichier.php
/trunk/exemple/services/modules/0.1/ServiceCacheSqlite.php
257 5027 d 6 h jpm /trunk/framework/ Gestion des paramètres pour le GET dans la méthode générique.  
/trunk/framework/Client.php
256 5027 d 6 h jpm /trunk/framework/ Ajout de l'accès aux entêtes de la réponse et à la méthode générique d'envoie de requete.  
/trunk/framework/Client.php
252 5033 d 4 h jpm /trunk/framework/ Ajout première version du client Rest.  
/trunk/framework/Client.php