Re: Re: [PEPr] Comment on XML::XML_RPC2 (reproposal)
| From: | Bertrand Mansion | Date: | Tue, 14 Jun 2005 16:29:01 +0000 |
| Subject: | Re: Re: [PEPr] Comment on XML::XML_RPC2 (reproposal) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38122@lists.php.net to get a copy of this message | ||
Sérgio Carvalho wrote:
>Bertrand Mansion wrote:
>> Bertrand Mansion (http://pear.php.net/user/mansion) has commented on the
>proposal for XML::XML_RPC2 (reproposal).
>>
>> Comment:
>>
>> Do you really need to depend on Curl ?
>
>You'll agree it's much much easier to write HTTP client code using cURL
>as opposed to direct socket manipulation. Moreso, when I plan to
>implement HTTPS certificate authentication (I need it internally at my
>company). In an ideal world XML_RPC2 would depend on an external library
>for HTTP client code.
>
>The aim is to depend on HTTP_Request. Unfortunately, HTTP_Request is not
>E_STRICT compliant, and borks all unit tests. So, the compromise is to
>substitute HTTP_Request with a slimmed down utility class
>(XML_RPC2_Util_HTTPRequest) and switch over once HTTP_Request goes PHP5.
Another solution would be to make HTTP_Request E_STRICT compliant right now.
I am sure Alexey would love to undertake that :)
Bertrand Mansion
Mamasam