cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl and Websense

From: Richard Atterer <richard_at_2007.atterer.net>
Date: Thu, 26 Jul 2007 12:16:34 +0200

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