version 1.257, 2000/11/16 11:59:06
|
version 1.258, 2000/11/30 16:39:25
|
Line 370 int status;
|
Line 370 int status;
|
HTAtom *tmp_atom; |
HTAtom *tmp_atom; |
char *tmp_char; |
char *tmp_char; |
CHAR_T tmp_wchar[MAX_LENGTH]; |
CHAR_T tmp_wchar[MAX_LENGTH]; |
HTParentAnchor *anchor = HTRequest_anchor (request); |
/* HTParentAnchor *anchor = HTResponse_anchor (request); */ |
|
|
/* @@@ later I'll add a function here to specify which headers we |
/* @@@ later I'll add a function here to specify which headers we |
want to copy */ |
want to copy */ |
Line 379 int status;
|
Line 379 int status;
|
if (me->http_headers.content_type) |
if (me->http_headers.content_type) |
return; |
return; |
|
|
/* copy the content_type */ |
/* copy the content_type */ |
tmp_atom = HTAnchor_format (anchor); |
/* tmp_atom = HTAnchor_format (anchor); */ |
|
tmp_atom = HTResponse_format (response); |
if (tmp_atom) |
if (tmp_atom) |
tmp_char = HTAtom_name (tmp_atom); |
tmp_char = HTAtom_name (tmp_atom); |
else |
else |
Line 409 int status;
|
Line 410 int status;
|
} |
} |
|
|
/* copy the charset */ |
/* copy the charset */ |
tmp_atom = HTAnchor_charset (anchor); |
/* tmp_atom = HTAnchor_charset (anchor); */ |
|
tmp_atom = HTResponse_charset (response); |
if (tmp_atom) |
if (tmp_atom) |
{ |
{ |
iso2wc_strcpy (tmp_wchar, HTAtom_name (tmp_atom)); |
iso2wc_strcpy (tmp_wchar, HTAtom_name (tmp_atom)); |
Line 1435 HTList *c;
|
Line 1437 HTList *c;
|
HTBind_add("tgz", "application/gnutar", NULL, "binary", NULL, 1.0); |
HTBind_add("tgz", "application/gnutar", NULL, "binary", NULL, 1.0); |
HTBind_add("mml", "text/xml", NULL, "8bit", NULL, 1.0); |
HTBind_add("mml", "text/xml", NULL, "8bit", NULL, 1.0); |
HTBind_add("svg", "text/xml", NULL, "8bit", NULL, 1.0); |
HTBind_add("svg", "text/xml", NULL, "8bit", NULL, 1.0); |
HTBind_add("svg", "text/xml", NULL, "8bit", NULL, 1.0); |
|
/* Don't do any case distinction */ |
/* Don't do any case distinction */ |
HTBind_caseSensitive (FALSE); |
HTBind_caseSensitive (FALSE); |
} |
} |