cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to get around 302 Object Moved....

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Nov 2005 09:13:59 +0100 (CET)

On Tue, 22 Nov 2005, R. Blaine Mincey wrote:

> I have been utilizing libcurl via javacurl for quite a while now with good
> success.

Just note that the curl-library list might be more suitable for you...

> Recently, my script is having some problems because of receiving a
> "302 Object Moved" http status. Basically, my script hits a URL, logs in to
> a secure site via a digital certificate, performs some various operations,
> then submits data via a get. After submitting the data, I receive the 302
> status. By looking through the output, there is an indication that I must
> "issue another request" to the login url.

I read your mail several times but I don't understand what your
problem/question is. libcurl has the power to follow redirects such as those a
302 implies. Are you saying that you ask it to do that and it fails in doing
so?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-11-23