Skip Menu |

This queue is for tickets about the Xango CPAN distribution.

Report information
The Basics
Id: 18753
Status: open
Priority: 0/
Queue: Xango

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: is your custom http poco client available?
the manual mentions you have a custom http poco client which writes to disk. i haven't been able to find anything similar on the web and was hoping you'd share that also. thanks
Well, it's okay license-wise but the code is a really ugly hack that doesn't work too well with upgrades on PoCo::Component::HTTP so I'm a bit reluctant to unleash it to the world.
On Mon Apr 17 12:23:15 2006, DMAKI wrote: Show quoted text
> Well, it's okay license-wise but the code is a really ugly hack > that doesn't work too well with upgrades on PoCo::Component::HTTP > so I'm a bit reluctant to unleash it to the world.
i just found a way to do it using the Streaming option. it's now example 4 on http://poe.perl.org/?POE_Cookbook/Web_Client .
Show quoted text
> i just found a way to do it using the Streaming option. it's now > example 4 on http://poe.perl.org/?POE_Cookbook/Web_Client .
yes, but it loads all the content int HTTP::Request once, which is exactly what I was trying to avoid. However, if your aim is just to store the results then, you don't need anything like what I used.
On Mon Apr 17 13:18:57 2006, DMAKI wrote: Show quoted text
>
> > i just found a way to do it using the Streaming option. it's now > > example 4 on http://poe.perl.org/?POE_Cookbook/Web_Client .
> > yes, but it loads all the content int HTTP::Request once, > which is exactly what I was trying to avoid. > > However, if your aim is just to store the results then, you don't > need anything like what I used.
not sure i follow. the Streaming option specifies that each event only gets a small chunk of the response data- the content field in the HTTP::Response is not used by POE in this case. please correct me if i'm wrong or maybe add another example to the wiki.