⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htmulti.h

📁 www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
💻 H
字号:
/*    					W3C Sample Code Library libwww Content Negotiation!  Content Negotation!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*As part of the HTTP content negotiation, a server must be able to match thepreferences sent by the client in an HTTP request with the possible set ofdocuments that it has avaiable for this URL. For example , it may have anEnglish and a Danish version in which case it looks at theAccept-Language header and sees what the client prefers. TheLibrary has a simple "Match" algorithm for finding the best as specifiedby the HTTP specification. As the content algorithm is part of the File Interfacethen all file access regardless of whether it is from a server or a clientapplication will be able to content negotiotion.This module is implemented by HTMulti.c, and it isa part of the  W3C Sample CodeLibrary*/#ifndef HTMULTI_H#define HTMULTI_H#include "HTReq.h"/*This function is used when the best match among several possible documentsis to be found as a function of the accept headers sent in the client request..  Set the default Welcome page.Set default file name for welcome page on each directory.*/extern void HTAddWelcome (char * welcome_name);/*.  Content Negotiation Algorithm.This function looks for a set of bindings betweena set of possible objects to be served on a request on the local file system.*/extern char * HTMulti (HTRequest *	req,		      char *		path,		      struct stat *	stat_info);/**/#endif /* HTMULTI_H *//*    @(#) $Id: HTMulti.html,v 2.17 1998/05/14 02:10:46 frystyk Exp $*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -