Hi,

I noticed a problem with issuing GET requests with parameters using
POE::Component::Client::HTTP. eg.  if I construct a request using HTTP::Request
like so:

my $req = GET "http://localhost/query?a=b";

then POE issues the GET request thus:

GET /query

ie. the parameters are missing. I think the issue is that the HTTP.pm module is
calling URI::URL method path() instead of full_path() (v 0.35, line 262).
Calling path() on $req above yields /query. Calling full_path() yields
/query?a=b, which I think is correct. POSTing works ok.

Thoughts ? I'm pretty sure I'm up-to-date wrt. versions etc.

Brian

=====
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd         
+44 (0)20 8767 8028

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

Reply via email to