On Sun, Feb 23, 2003 at 10:07:30AM +0300, Ilya Martynov wrote:
> 
> I'm trying to write HTTP proxy with POE so I've tried to use
> POE::Component::Client::HTTP to proxy HTTP requests to the actual web
> servers. The problem is that I don't see how I can get response code
> and message (i.e. '200 Ok', '404 Not Found', etc) from web server when
> I use POE::Component::Client::HTTP in streaming mode as in streaming
> mode response handler only recieves HTTP::Headers object which doesn't
> have this information. I've checked sources/docs to find any
> workaround but I've not found anything. Am I missing something?

I think you're right.  HTTP::Headers doesn't include the status code.
Client::HTTP needs to do something else, but I'm not sure what.
Suggestions are welcome.

-- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/

Reply via email to