curl-users
Re: CURL lib issue
From: Tomasz.Lacki <Tomasz.Lacki_at_primark.pl>
Date: Wed, 04 Jul 2001 15:44:55 +0200
Date: Wed, 04 Jul 2001 15:44:55 +0200
Yes, I have tried that, but unfortunately it did not help.
Tomek
Nielsen Linus wrote:
> > I do not know how to tell the library for the second file upload (HTTP
> > PUT) that I do not longer want to make HTTP post but just HTTP PUT, so
> > the lib thinks that I want to make some kind of POST and goes
> > down. The
> > way out I have found is to deallocate curl and allocate again
> > so for the
> > above example it would look like:
>
> Maybe this is a stupid question, but did you call curl_easy_setopt()
> to unset the POST option? Like:
>
> curl_easy_setopt(curl, CURLOPT_POST, 0);
>
> /Linus
Received on 2001-07-04