cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: the location problem.

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 12 Apr 2007 13:35:40 +0200

Rajesh Singh wrote:
> I am posting request with multipart/formdata successfully. debug
> shows me that post was successfull, it get http 1.1 302 object moved
> information. curl follow the location disabling Post and with Get ,
> but again, curl get http 1.1 302 object moved information with
> different Location set. and here i get different page.

Sounds like the server doesn't like the GET request for some reason.
Could it be a missing cookie, or wrong cookie contents? Sometimes the
web pages uses Javascript to modify or add cookies.

Linus
Received on 2007-04-12