cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Authorisation

From: m. allan noah <man_at_tfhs.net>
Date: Mon, 6 Nov 2006 19:11:39 -0500 (EST)

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