亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? htreq.h

?? www工具包. 這是W3C官方支持的www支撐庫. 其中提供通用目的的客戶端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
?? H
?? 第 1 頁 / 共 3 頁
字號:
/*.  Request Preconditions (HTTP If-* Headers).Should this request use preconditions when doing a PUT or aPOST? These are the "if-*" header fields that can be usedto avoid version conflicts etc. The default is not to use any preconsitions(HT_NO_MATCH). The _THIS versions use etags and/or timestamps and the _ANY versions use the "*" header field valueof the if-match and if-non-match header fields.*/typedef enum _HTPreconditions {    HT_NO_MATCH = 0,    HT_MATCH_THIS,    HT_MATCH_ANY,    HT_DONT_MATCH_THIS,    HT_DONT_MATCH_ANY} HTPreconditions;extern void HTRequest_setPreconditions (HTRequest * me, HTPreconditions mode);extern HTPreconditions HTRequest_preconditions (HTRequest * me);/*.  Local MIME header Parsers.MIMEParsers get their own type which is optimized for static and regex parserstrings.*/typedef struct _HTMIMEParseSet HTMIMEParseSet;extern void HTRequest_setMIMEParseSet (HTRequest *request,				       HTMIMEParseSet * parseSet, BOOL local);extern HTMIMEParseSet * HTRequest_MIMEParseSet (HTRequest *request,					      BOOL * pLocal);/*.  Which Default Protocol Header Fields To Use?.Libwww supports a large set of headers that can be sent along with a request(or a response for that matter). All headers can be either disabled or enabledusing bit flags that are defined in the following. See also thesection on how to extend the default set of supported headerfields.(  General HTTP Header Mask)There are a few header fields which have general applicability for both requestand response mesages, but which do not apply to the communication partiesor theentity being transferred. This mask enables and disables these headers.If the bit is not turned on they are not sent.*/typedef enum _HTGnHd {    HT_G_CC             = 0x1,    HT_G_CONNECTION	= 0x2,    HT_G_DATE		= 0x4,    HT_G_PRAGMA_NO_CACHE= 0x8,    HT_G_FORWARDED	= 0x10,    HT_G_MESSAGE_ID	= 0x20,    HT_G_MIME		= 0x40,    HT_G_TRAILER        = 0x80,    HT_G_TRANSFER       = 0x100,    HT_G_EXTRA_HEADERS  = 0x200} HTGnHd;#define DEFAULT_GENERAL_HEADERS	\        HT_G_CONNECTION + HT_G_CC + HT_G_TRANSFER + HT_G_TRAILER + \        HT_G_EXTRA_HEADERSextern void HTRequest_setGnHd (HTRequest *request, HTGnHd gnhd);extern void HTRequest_addGnHd (HTRequest *request, HTGnHd gnhd);extern HTGnHd HTRequest_gnHd (HTRequest *request);/*(  Request Headers)The request header fields allow the client to pass additional informationabout the request (and about the client itself) to the server. All headersare optional but the default value is all request headers if presentexcept From and Pragma.*/typedef enum _HTRqHd {    HT_C_ACCEPT_TYPE	= 0x1,    HT_C_ACCEPT_CHAR	= 0x2,    HT_C_ACCEPT_ENC	= 0x4,    HT_C_ACCEPT_TE	= 0x8,    HT_C_ACCEPT_LAN	= 0x10,    HT_C_AUTH		= 0x20,             /* Includes proxy authentication */    HT_C_EXPECT         = 0x40,    HT_C_FROM		= 0x80,    HT_C_HOST		= 0x100,    HT_C_IMS		= 0x200,    HT_C_IF_MATCH	= 0x400,    HT_C_IF_MATCH_ANY	= 0x800,    HT_C_IF_NONE_MATCH	= 0x1000,    HT_C_IF_NONE_MATCH_ANY=0x2000,    HT_C_IF_RANGE	= 0x4000,    HT_C_IF_UNMOD_SINCE	= 0x8000,    HT_C_MAX_FORWARDS	= 0x10000,    HT_C_RANGE		= 0x20000,    HT_C_REFERER	= 0x40000,    HT_C_USER_AGENT	= 0x80000} HTRqHd;#define DEFAULT_REQUEST_HEADERS	\	HT_C_ACCEPT_TYPE + HT_C_ACCEPT_CHAR + \	HT_C_ACCEPT_ENC + HT_C_ACCEPT_TE + HT_C_ACCEPT_LAN + HT_C_AUTH + \        HT_C_EXPECT + HT_C_HOST + HT_C_REFERER + HT_C_USER_AGENTextern void HTRequest_setRqHd (HTRequest *request, HTRqHd rqhd);extern void HTRequest_addRqHd (HTRequest *request, HTRqHd rqhd);extern HTRqHd HTRequest_rqHd (HTRequest *request);/*(  Response Headers)The response header fields allow the server to pass additional informationabout the response (and about the server itself) to the client. All headersare optional.*/typedef enum _HTRsHd {    HT_S_AGE		= 0x1,    HT_S_LOCATION   	= 0x2,    HT_S_PROXY_AUTH 	= 0x4,    HT_S_PUBLIC    	= 0x8,    HT_S_RETRY_AFTER	= 0x10,    HT_S_SERVER		= 0x20,    HT_S_VARY		= 0x40,    HT_S_WARNING	= 0x80,    HT_S_WWW_AUTH	= 0x100,    HT_S_TRAILER        = 0x200} HTRsHd;#define DEFAULT_RESPONSE_HEADERS HT_S_SERVERextern void HTRequest_setRsHd (HTRequest * request, HTRsHd rshd);extern void HTRequest_addRsHd (HTRequest * request, HTRsHd rshd);extern HTRsHd HTRequest_rsHd (HTRequest * request);/*(  Entity Header Mask)The entity headers contain information about the object sent in the HTTPtransaction. See the Anchor module, for the storageof entity headers. This flag defines which headers are to be sent in a requesttogether with an entity body. All headers are optional but the default valueis ALL ENTITY HEADERS IF PRESENT*/typedef enum _HTEnHd {    HT_E_ALLOW			= 0x1,    HT_E_CONTENT_BASE		= 0x2,    HT_E_CONTENT_ENCODING	= 0x4,    HT_E_CONTENT_LANGUAGE	= 0x8,    HT_E_CONTENT_LENGTH		= 0x10,    HT_E_CONTENT_LOCATION	= 0x20,    HT_E_CONTENT_MD5		= 0x40,    HT_E_CONTENT_RANGE		= 0x80,    HT_E_CTE			= 0x100,	/* Content-Transfer-Encoding */    HT_E_CONTENT_TYPE		= 0x200,    HT_E_DERIVED_FROM		= 0x400,    HT_E_ETAG			= 0x800,    HT_E_EXPIRES		= 0x1000,    HT_E_LAST_MODIFIED		= 0x2000,    HT_E_LINK			= 0x4000,    HT_E_TITLE			= 0x8000,    HT_E_URI			= 0x10000,    HT_E_VERSION		= 0x20000} HTEnHd;#define DEFAULT_ENTITY_HEADERS		0xFFFFFFFF		      /* all */extern void HTRequest_setEnHd (HTRequest *request, HTEnHd enhd);extern void HTRequest_addEnHd (HTRequest *request, HTEnHd enhd);extern HTEnHd HTRequest_enHd (HTRequest *request);/*.  Extending The Default Set Of Header Fields.See also how to set up default header fields. Thereare three ways to extend the set of headers that are sent in a request:  o 	     A simple association list  o 	     A stream oriented approach where the stream (called    a generator) has direct access to the outgoing stream. That is, it can    add any header it likes.  o 	     HTTP extension mechanism which    is a much better way for handling extensions.(  1) Simple Association List)Add the (name, value) and it will be converted into MIME header format asname: value. Do NOT add CRLF line termination - this is done bythe HTTP header generator stream*/extern BOOL HTRequest_addExtraHeader       (HTRequest * request,                                            char * token, char * value);extern HTAssocList * HTRequest_extraHeader (HTRequest * request);extern BOOL HTRequest_deleteExtraHeaderAll (HTRequest * request);/*(  2) Stream Oriented Header Generators)Extra header information can be send along with a request usingheader generators. The text is sent as is soit must be preformatted with CRLF line terminators. You can alsoregister MIME header parsers using the HTHeadermodule.*/extern void HTRequest_setGenerator (HTRequest *request, HTList *gens,                                    BOOL override);extern HTList * HTRequest_generator (HTRequest *request, BOOL *override);/*(  3) HTTP Extension Framework)These association lists contain the information that we are to send as HTTPExtension Framework. This is not done yet but you can find some hints inthe PEP module*//* TBD *//*.  User And Application Preferences Using Accept Headers.The Accept family of headers is an important part of HTTP handling the formatnegotiation. The Library supports both a global set of accept headers thatare used in all HTTP requests and a local set of accept headersthat are used in specific requests only. The global ones are defined in theFormat Manager.Each request can have its local set of accept headers that either are addedto the global set or replaces the global set of accept headers. Non of theheaders have to be set. If the global set is sufficient for allrequests then this us perfectly fine. If the parameter "override" is setthen only local accept headers are used, else both local and globalheaders are used.(  Content Types)The local list of specific conversions which the format managercan do in order to fulfill the request. It typically points to a list setup on initialisation time for example by HTInit().There is also a global list ofconversions which contains a generic set of possible conversions.*/extern void HTRequest_setConversion (HTRequest *request, HTList *type, BOOL override);extern HTList * HTRequest_conversion (HTRequest *request);/*(  Content Encodings)The list of encodings acceptable in the output stream.*/extern void HTRequest_setEncoding (HTRequest *request, HTList *enc, BOOL override);extern HTList * HTRequest_encoding (HTRequest *request);/*(  Transfer Encodings)The list of transfer encodings acceptable in the output stream.*/extern void HTRequest_setTransfer (HTRequest *request, HTList *te, BOOL override);extern HTList * HTRequest_transfer (HTRequest *request);/*(  Content Languages)The list of (human) language values acceptable in the response. The defaultis all languages.*/extern void HTRequest_setLanguage (HTRequest *request, HTList *lang, BOOL override);extern HTList * HTRequest_language (HTRequest *request);/*(  Content Charsets)The list of charsets accepted by the application*/extern void HTRequest_setCharset (HTRequest *request, HTList *charset, BOOL override);extern HTList * HTRequest_charset (HTRequest *request);/*.  HTTP Cache Validation and Cache Control.The Library has two concepts of caching: in memory and on file. When loadinga document, this flag can be set in order to define who can give a responseto the request. The memory buffer is considered to be equivalent to a historybuffer. That is, it doesn't not follow the same expiration mechanism thatis characteristic for a persistent file cache.You can also set the cache to run in disconnected mode - see theCache manager for more details on how to do this.*/typedef enum _HTReload {    HT_CACHE_OK	            = 0x0,	        /* Use any version available */    HT_CACHE_FLUSH_MEM	    = 0x1,	/* Reload from file cache or network */    HT_CACHE_VALIDATE	    = 0x2,	             /* Validate cache entry */    HT_CACHE_END_VALIDATE   = 0x4,                  /* End to end validation */    HT_CACHE_RANGE_VALIDATE = 0x8,    HT_CACHE_FLUSH	    = 0x10,                     /* Force full reload */    HT_CACHE_ERROR          = 0x20         /* An error occurred in the cache */} HTReload;extern void HTRequest_setReloadMode (HTRequest *request, HTReload mode);extern HTReload HTRequest_reloadMode (HTRequest *request);/*.  Default PUT name.When publishing to a server which doesn't accept a URL ending in "/", e.g,the default Overview, index page, you can useHTRequest_setAltPutName to setup the intended URL. If thisvariable is defined, it'll be used during the cache lookup and updateoperationsm, so that cache-wise, it will look as if we had publishedonly to "/".*/extern char * HTRequest_defaultPutName (HTRequest * me);extern BOOL HTRequest_setDefaultPutName (HTRequest * me, char * name);extern BOOL HTRequest_deleteDefaultPutName (HTRequest * me);/*(  HTTP Cache Control Directives)The cache control directives are all part of the cache control header andcontrol the behavior of any intermediate cache between the user agent andthe origin server. This association list is a list of the connection controldirectives that are to be sent as part of the Cache-Controlheader.*/extern BOOL HTRequest_addCacheControl        (HTRequest * request,                                              char * token, char *value);extern BOOL HTRequest_deleteCacheControlAll  (HTRequest * request);extern HTAssocList * HTRequest_cacheControl  (HTRequest * request);/*.  Date and Time Stamp when Request was Issued.The start time when the request was issued may be of value to the cachevalidation mechanism as described by the HTTP/1.1 specification. The valueis automatically set when creating the request headers and sending off therequest. The time is a local time.*/extern time_t HTRequest_date  (HTRequest * request);extern BOOL HTRequest_setDate (HTRequest * request, time_t date);/*.  HTTP Expect Directives.The Expect request-header field is used to indicate that particular serverbehaviors are required by the client. A server that does not understand oris unable to comply with any of the expectation values in the Expect fieldof a request MUST respond with appropriate error status.*/extern BOOL HTRequest_addExpect (HTRequest * me,				 char * token, char * value);extern BOOL HTRequest_deleteExpect (HTRequest * me);extern HTAssocList * HTRequest_expect (HTRequest * me);/*.  Partial Requests and Range Retrievals.Libwww can issue range requests in case we have already obtained a part ofthe entity body. Since all HTTP entities are represented in HTTP messagesas sequences of bytes, the concept of a byte range is meaningful for anyHTTP entity. (However, not all clients and servers need to support byte-rangeoperations.) Byte range specifications in HTTP apply to the sequence of bytesin the entity-body (not necessarily the same as the message-body). A byterange operation may specify a single range of bytes, or a set of ranges withina single entity.*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成av人片在线观看无码| 懂色av一区二区三区免费观看| 国产一二三精品| 国产日韩欧美不卡在线| 成人免费毛片嘿嘿连载视频| 国产精品乱码人人做人人爱| www.欧美亚洲| 亚洲成人自拍一区| 日韩精品一区二区三区swag| 成人看片黄a免费看在线| 综合精品久久久| 欧美一区二区三区思思人 | 欧美一区二区三区影视| 麻豆91小视频| 中文字幕乱码亚洲精品一区| 欧美在线999| 国产一级精品在线| 亚洲在线免费播放| 久久久噜噜噜久噜久久综合| 色综合色综合色综合| 美女网站色91| 亚洲国产精品自拍| 欧美国产一区在线| 欧美日韩亚洲国产综合| 粉嫩av一区二区三区粉嫩| 亚洲精品一卡二卡| 国产欧美一区视频| 日韩一区二区免费在线电影| 97se亚洲国产综合自在线| 麻豆视频一区二区| 日韩av在线发布| 成人精品小蝌蚪| 精品制服美女丁香| 亚洲成人自拍一区| 亚洲国产精品嫩草影院| 亚洲男人天堂av网| 亚洲视频在线观看一区| 国产精品久久久久久久久久免费看 | 亚洲精品免费在线| 中文字幕一区二区不卡| 国产精品久99| 怡红院av一区二区三区| 国产精品久久久久婷婷| 久久精品视频一区二区三区| 久久无码av三级| 欧美国产一区二区在线观看| 精品99999| 国产精品网站在线播放| 亚洲精品乱码久久久久久久久 | 日一区二区三区| 热久久一区二区| 麻豆精品在线观看| 国产精品亚洲综合一区在线观看| 成人理论电影网| 99国产精品国产精品久久| 欧美系列在线观看| 亚洲精品在线一区二区| 国产精品久久毛片| 男女男精品视频| 国产成人一区在线| 欧美私模裸体表演在线观看| 精品视频123区在线观看| 日韩免费观看高清完整版| 国产片一区二区| 首页国产欧美日韩丝袜| 不卡一区二区在线| 亚洲国产精品精华液2区45| 亚洲一区在线视频| 成人综合在线视频| 国产精品家庭影院| 奇米色777欧美一区二区| 9i在线看片成人免费| 欧美日韩一区在线观看| 国产精品麻豆99久久久久久| 日韩电影一区二区三区四区| 国产v综合v亚洲欧| 久久影院视频免费| 日韩精品一区第一页| 色婷婷久久久久swag精品| 国产午夜精品久久久久久免费视| 亚洲国产你懂的| 91亚洲精品乱码久久久久久蜜桃| 精品日韩欧美在线| 日韩精品一二三四| 色综合中文字幕国产| 亚洲精品在线观看视频| 久久99久久精品| 日韩欧美三级在线| 免费看日韩精品| 777午夜精品免费视频| 亚洲成人av在线电影| 欧美私人免费视频| 老司机午夜精品99久久| 欧美成人vps| 欧美日韩中文字幕一区| 午夜激情久久久| 精品国产一区二区三区四区四 | 国产剧情一区在线| 国产欧美日韩在线观看| 成人精品小蝌蚪| 一区二区三区视频在线观看| 色欧美片视频在线观看 | 国产精品麻豆视频| 欧美色爱综合网| 美女脱光内衣内裤视频久久影院| 久久久久久久久久久久久女国产乱 | 国产一区二区91| 欧美精彩视频一区二区三区| 色哟哟一区二区在线观看| 成人国产精品免费网站| 亚洲欧美视频在线观看视频| 7777精品伊人久久久大香线蕉经典版下载| 日韩高清一区在线| 国产欧美日韩卡一| 91精品免费观看| 波多野结衣视频一区| 日本美女一区二区三区视频| 亚洲天堂福利av| 久久久精品黄色| 欧美一区二区三区播放老司机| 成人亚洲精品久久久久软件| 亚洲国产视频网站| 国产精品每日更新| 久久久精品综合| 精品欧美黑人一区二区三区| 欧美三片在线视频观看| 国产91高潮流白浆在线麻豆| av电影一区二区| 成人午夜激情影院| 国内精品国产成人国产三级粉色| 亚洲一区二区三区国产| 中文字幕亚洲不卡| 国产精品久久久久婷婷二区次| 久久久久久久综合狠狠综合| 2024国产精品视频| 欧美一区二区播放| 欧美日本高清视频在线观看| 欧美专区亚洲专区| 欧美亚洲一区二区在线观看| 在线观看欧美日本| 欧美三级日韩三级| 91精品国产综合久久精品app| 欧美性受xxxx黑人xyx| 88在线观看91蜜桃国自产| 欧美亚洲国产怡红院影院| 欧洲精品在线观看| 日韩亚洲欧美一区| 久久综合av免费| 精品少妇一区二区三区免费观看| 26uuu精品一区二区在线观看| 久久久久99精品国产片| 国产精品少妇自拍| 亚洲色图一区二区| 欧美96一区二区免费视频| 日韩成人dvd| 丁香激情综合国产| 欧美在线观看一区| 91精品国产91久久综合桃花| 国产欧美日韩不卡免费| 一区二区三区欧美在线观看| 国产在线精品一区二区夜色 | 色婷婷av一区二区三区大白胸| 日本韩国精品一区二区在线观看| 欧美成人女星排名| 亚洲乱码中文字幕综合| 毛片av一区二区三区| 色悠悠久久综合| 久久亚洲免费视频| 一区二区三区**美女毛片| 美女视频一区在线观看| 欧洲色大大久久| 国产精品你懂的在线| 免费人成在线不卡| 欧美中文字幕久久| 中文字幕精品一区二区精品绿巨人 | 亚洲国产精品av| 免费精品视频最新在线| 欧美一级欧美一级在线播放| 中文字幕一区二区三区精华液| 国内精品久久久久影院色| 欧美亚洲免费在线一区| ...中文天堂在线一区| 国产成人aaa| 久久久高清一区二区三区| 男女视频一区二区| www一区二区| 国产精品一区2区| 日韩一区二区电影| 午夜精品123| 日韩一区二区影院| 久久精品99国产精品| 欧美一区二区三区四区视频 | 国产在线不卡一卡二卡三卡四卡| 91精品国产欧美一区二区| 日日夜夜免费精品| 日韩欧美不卡一区| 国产精品伊人色| 国产精品三级av在线播放| 成人国产精品免费观看| 夜夜精品浪潮av一区二区三区|