cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Malformed request problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Mar 2002 10:50:00 +0100 (MET)

On Thu, 7 Mar 2002, Amit Hooja wrote:

> I am trying to retrieve a url using curl cmdline embeded in perl script the
> url uses session id , i am doing uri_escape on url and passing it to curl
> cmd .
>
> and getting malformed request

It would make it a lot easier if you could show us more details. How does the
malformed request look like (using -v)? What does your original/unescaped URL
look like?

Are you sure your "uri_escape" doesn't mangle the URL to prevent it from
working properly?

Please also include details like operating system and which curl version
you're using.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-07