Re: [SOAP] PEAR::SOAP WSDL over HTTPS patch
| From: | Will Green | Date: | Thu, 31 Jul 2003 14:35:06 +0000 |
| Subject: | Re: [SOAP] PEAR::SOAP WSDL over HTTPS patch | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-904@lists.php.net to get a copy of this message | ||
Ok, try this one.
It now tries curl if:
curl with ssl is availabale
OR
the url begins with http:// or file:// AND curl is available
Failing that, it falls back to HTTP_Request.
Limbourg Arnaud wrote:
>>I have replaced the HTTP_Request method of retrieving a WSDL
>>file with a
>>curl version.
>>
>>This removes the dependancy on HTTP::Request in this file,
>>but replaces
>>it with the need for curl to be compiled in to php or loaded
>>as a module.
>>
>>Guess the comment "this section should be replace by curl at
>>some point"
>>can be removed, should you accept the patch.
>>
>>I also added in the column number of where the XML parser trips up
>>(should it trip up), to help in debugging.
>
>
> That could be a problem. Can we reasonnably expect hosts to have curl ?
>
> If not, curl should be used if present or fallback on HTTP_Request.
>
> Arnaud.
>