curl-library
RE: curl and Websense
Date: Thu, 26 Jul 2007 13:34:03 +0300
Yes, this was what I originally tried to find out: if cURL supports that
auth by itself (automagically :) ). By now I've realized that the answer is
'no' and I'll have to code smth by hand, using no matter what tool that
helps with HTTP requests.
Thanks for help guys.
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Richard Atterer
Sent: 26 iulie 2007 13:17
To: curl-library_at_cool.haxx.se
Subject: Re: curl and Websense
On Thu, Jul 26, 2007 at 11:22:34AM +0200, Daniel Stenberg wrote:
> If you then get a redirect to a the "auth host" for the proxy, you need
> to catch that somehow and then 2) issue an auth request to that and then
> loop and redo the request as (1) above again.
In other words, you need to simulate the actions of a normal web browser
using multiple curl requests, as Websense uses a non-standard way of
authentication which is not supported by curl (and which shouldn't be
supported).
Cheers,
Richard
-- __ _ |_) /| Richard Atterer | GnuPG key: 888354F7 | \/¯| http://atterer.net | 08A9 7B7D 3D13 3EF2 3D25 D157 79E6 F6DC 8883 54F7 ¯ '` ¯Received on 2007-07-26