in reply to Creating A Request

There is code in HTTP::Daemon (and relatives) that does the munging of headers into a LWP::UserAgent request. I'd suggest having a look there - you may want to have a look at the HTTP::Daemon::ClientConn method $c->get_request() as a start.

Alternatively POE::Filter::HTTPD has similar code (in fact if you read the source you see its been nicked from HTTP:Daemon and hacked at), I don't know which is better, but I suspect HTTP::Daemon will be more flexible.

Dingus


Enter any 47-digit prime number to continue.