>>>>> On Sun, 23 Feb 2003 12:27:37 -0500, Rocco Caputo <[EMAIL PROTECTED]> said:
RC> 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? RC> I think you're right. HTTP::Headers doesn't include the status code. RC> Client::HTTP needs to do something else, but I'm not sure what. RC> Suggestions are welcome. It could just return HTTP::Response object like in non-streaming mode. -- Ilya Martynov, [EMAIL PROTECTED] CTO IPonWEB (UK) Ltd Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net Personal website - http://martynov.org
