cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: CURL lib issue

From: Tomasz.Lacki <Tomasz.Lacki_at_primark.pl>
Date: Wed, 04 Jul 2001 16:41:52 +0200

The most recent stable version of curl which is version 7.8
Tomek

Nielsen Linus wrote:

> By the way, what version of libcurl are you using?
>
> /Linus
>
> >
> > 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