lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Proxy authorization.


From: Klaus Weide
Subject: Re: LYNX-DEV Proxy authorization.
Date: Fri, 5 Sep 1997 13:07:59 -0500 (CDT)

On Fri, 5 Sep 1997, Walter Truitt wrote:

> Hello,
> 
> I have read information in lynx about SOCKS Proxy, but it didn't give
> me enough knowledge to tell if that is what I am looking for.  All I
> know is the trying lynx, gives the following:
> 
>                                                    Proxy authorization 
> required
>  
>                          Proxy authorization required
>  
>    Username authentication is required for using this proxy. Either your
>    browser does not perform proxy authorization, or your authorization
>    has failed.
>  
> It never asks me for the password and username, so I don't know how
> to add it.  I have been looking for information on this in the
> HTTP (rfc 1945) and on the internet.  I didn't find anything.  The
> code it returns is 407.  Talking directly to the port gives this:
> 
> sun1464$ ~/bin/hose onramp 8080 -slave < utdallas
> HTTP/1.0 407 Proxy authorization required
> Proxy-agent: Netscape-Proxy/1.12
> Date: Friday, 05-Sep-97 17:12:23 GMT
> Proxy-authenticate: basic realm="WWW Proxy User Access"
> Content-type: text/html
> Content-length: 271

No, you don't need to compile Lynx with SOCKS (at least for this problem).
Proxy authentication is not supported in Lynx 2.7.1 or earlier.  But it is
in the development code at <URL:http://sol.slcc.edu/lynx/current/> and in
Fote's code in <URL:http://sol.slcc.edu/lynx/fote/patches/>.

> I am not even able to figure out how the client is supposed to 
> send authorization.  I tried both of the following fields:
> 
> Proxy-authenticate:
> Authorize:

That is described in RFC 2068 (there is also a newer draft, <URL:
http://www.w3.org/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-08.txt.gz>,
not in the Internet-Drafts directories).  Basically, you need
`Proxy-Authorization:'.

Some remarks that have nothing to do with authentication:

> Accept-encoding: base64, 7bit

Does any server do anything with `Accept-encoding: base64' ?

> Accept-language: *
> Accept:

You shouldn't send an empty Accept header field (although most servers
and CGI scripts will ignore it anyway).  I think that may be interpreted
as "no MIME type is acceptable".  Either leave the line completely off,
or use `Accept: */*'.

   Klaus 


;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]