Tatarskih Denis <[EMAIL PROTECTED]> writes:
> I have problem with using some symbols in arguments for cgi-scripts.
> If I use '|' in
> ...
> $rq = new HTTP::Request('GET', 'http://www.somewhere.com/cgi-script?arg1&|arg2');
> ...
> server recieve request 'GET /cgi-script?arg1&%7Carg2 HTTP/1.0', but if I
> type the same URL in location bar of browser (Netscape, Lynx, Konquerror),
> server recieve it as is (/cgi-script?arg1&|arg2).
> Analogically, if I use NetCat ( nc www.somewhere.com 80 < request_file )
>
> Of course, I can use NetCat, but could somebody help me, how I can do it
> with LWP?
The problem is that "|" is not a legal URI character, and LWP will
always let URI.pm fix its URIs before sending them off to the server.
There is no easy way to avoid that with LWP.
Why does it matter?
Regards,
Gisle