cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Authorisation

From: Jan Benes <jbenes_at_gmail.com>
Date: Tue, 7 Nov 2006 10:04:53 +0100

I guess you can add your custom headers thru curl_easy_setopt. might help

On 11/7/06, m. allan noah <man_at_tfhs.net> wrote:
> On Mon, 6 Nov 2006, Theodore H. Smith wrote:
>
> > Hi people,
> >
> > How does libcurl do authorisation? (I'm from England btw so I'm spelling it
> > this way :P )
> >
> > I'm using this tool named HTTP Analyzer. And... it is able to intercept the
> > streams, but in the stream I see no mention of any Authorization: field. So
> > how is the authorisation done if not done via the HTTP request?
> >
> > I ask, because I'm still unable to replicate some HTTP request.
> >
> > The request I'd LIKE it to look like (except that it would authorise), would
> > be like this (as caught by HTTP Analyzer):
>
> get a tcpdump of a successful connection with a webbrowser, and an
> unsuccessful one with curl, and compare. the way you have described it
> thusfar makes it difficult to tell what you have and have not done, and
> what works and what doesn't.
>
> ethereal is highly recommended.
>
> allan
>
Received on 2006-11-07