[Solar-talk] Solar_Http_Request, woohoo

Paul M Jones pmjones at ciaweb.net
Thu May 31 08:13:51 PDT 2007


On May 31, 2007, at 9:59 AM, Paul M Jones wrote:

>
> On May 31, 2007, at 9:39 AM, Rodrigo Moraes wrote:
>
>> Hey,
>> Anybody with a FeedBurner account here to give me a help? I've just
>> commited a class to manage feeds using FeedBurner's API:
>>
>>     http://dev.tipos.org/browser/trunk/Tipos/Service/FeedBurner.php
>>
>> Taking a quick look, do you have a clue why the user/password isn't
>> delivered to FeedBurner's server?
>
> Not a strong FeedBurner user, but I can take a quick look.
>
>
>> I've been trying everything and in
>> the end I used setBasicAuth(), but I've also tried to pass them as
>> parameters, which is also allowed.
>
>  From the API docs here ...
>
>    <http://www.feedburner.com/fb/a/developers/feedapi>
>
> ... it looks like the username and password params need to be part of
> the URI.  However, Solar_Http_Request currently expects the URI to be
> fully-formed, including query params.  The class does not merge array-
> based content with the URI query array on GET requests ... but it
> will shortly.

Just committed a change that merges the content array with the URI  
query array, when it's a GET request.  Let me know if that works for  
you.



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the solar-talk mailing list