[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

6
html.c
View File

@@ -1,4 +1,4 @@
/* $Id: html.c,v 1.11 2002/02/25 15:55:39 ukai Exp $ */
/* $Id: html.c,v 1.12 2002/02/28 16:15:41 ukai Exp $ */
#include "html.h"
/* Define HTML Tag Infomation Table */
@@ -134,8 +134,8 @@ TagInfo TagMAP[MAX_HTMLTAG] = {
{"hr", ALST_HR, MAXA_HR, 0}, /* 16 HTML_HR */
{"dl", ALST_DL, MAXA_DL, 0}, /* 17 HTML_DL */
{"/dl", NULL, 0, TFLG_END}, /* 18 HTML_N_DL */
{"dt", ALST_NOP, MAXA_NOP, 0}, /* 19 HTML_DT */
{"dd", ALST_NOP, MAXA_NOP, 0}, /* 20 HTML_DD */
{"dt", ALST_NOP, MAXA_NOP, 0}, /* 19 HTML_DT */
{"dd", ALST_NOP, MAXA_NOP, 0}, /* 20 HTML_DD */
{"pre", ALST_PRE, MAXA_PRE, 0}, /* 21 HTML_PRE */
{"/pre", NULL, 0, TFLG_END}, /* 22 HTML_N_PRE */
{"blockquote", ALST_NOP, MAXA_NOP, 0}, /* 23 HTML_BLQ */