[w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy)

* file.c (loadGeneralFile) delete Proxy-Authorization set here
* fm.h (HR_FLAG_PROXY): added
* main.c (MAIN): need "Basic " for proxy_auth_cookie
* url.c (HTTPrequest): add seen_proxy_auth
	if proxy and no Proxy-Authorization: header seen and
	has proxy_auth_cookie, use it
* url.c (openURL): hr->flag |= HR_FLAG_PROXY

* file.c (loadGeneralFile) comment indent fix
* html.c (TagMAP): ditto
From: Fumitoshi UKAI <ukai@debian.or.jp>
This commit is contained in:
Fumitoshi UKAI
2002-02-28 16:15:41 +00:00
parent b6e7d6aa35
commit 84854e6db6
6 changed files with 42 additions and 15 deletions

3
fm.h
View File

@@ -1,4 +1,4 @@
/* $Id: fm.h,v 1.52 2002/02/19 15:50:18 ukai Exp $ */
/* $Id: fm.h,v 1.53 2002/02/28 16:15:41 ukai Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -675,6 +675,7 @@ typedef struct http_request {
#define HR_COMMAND_HEAD 3
#define HR_FLAG_LOCAL 1
#define HR_FLAG_PROXY 2
#define HTST_UNKNOWN 255
#define HTST_MISSING 254