Ing. Branislav Gerzo <[EMAIL PROTECTED]> asked: > just pretty simple question: is LWP::UserAgent encode URL ? > for example I have: > > my $ua = LWP::UserAgent->new; > my $resp = $ua->get('http://something.net/this:is+just test'); > > my question is, if LWP first encode (escape) path in URL as > is written in RFC 1738, or I have to care about it in my script ?
LWP does it for you. That can be a major PITA when you're trying to call braindead CGI code that can't handle quoted-printable characters in an URI. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>