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

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

?? htresponse.h

?? www工具包. 這是W3C官方支持的www支撐庫. 其中提供通用目的的客戶端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
?? H
字號:
/*  					W3C Sample Code Library libwww Response Class!  The Response Class!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*The response object is created as a placeholder for the response receivedby the remote server. All filters can then use the information passed inthe response and act appropriately. The response object is deleted automaticallywhen the corresponding request object is deleted. We try and do some fancytricks in order to do lazy parsing and reusing parsed values so that we canoptimize the code.The Response object is created automatically when we start to receivemetainformation (for example MIME headers) and islinked to the Request object. TheResponse object is also deleted automatically when the corresponding requestobject is deleted but it can of course be deleted before if this isdesired.Note that if you are using non-blocking sockets then libwwwbehaves asynchronously as you may issue multiple requests and get back theresponses in the order they appear on the net interface.This module is implemented by HTResponse.c, andit is a part of the  W3C Sample CodeLibrary.*/#ifndef HTRESPONSE_H#define HTRESPONSE_Htypedef struct _HTResponse HTResponse;#include "HTEvent.h"#include "HTList.h"#include "HTAssoc.h"#include "HTFormat.h"#include "HTUser.h"/*.  Creating and Deleting Response Objects.The response obejct gets created when we start receiving a response froma remote server.(  Create Response Object)Creates a new response object with a corresponding User Profile object.*/extern HTResponse * HTResponse_new (void);/*(  Delete Response Object)This function deletes the object and cleans up the memory.*/extern BOOL HTResponse_delete (HTResponse * response);/*.  Redirections.When a redirection response is returned to the Library, for example froma remote HTTP server, this code is passed back to the application. Theapplication can then decide whether a new request should be established ornot. These two methods return the redirection information required to issuea new request, that is the new anchor and any list of keywords associatedwith this anchor.*/extern HTAnchor * HTResponse_redirection (HTResponse * response);extern BOOL HTResponse_setRedirection (HTResponse * response, HTAnchor * anchor);/*.  Retry Request After.Some services, for example HTTP, can in case they are unavailable at thetime the request is issued send back a time and date stamp to the clienttelling when they are expected to back online. In case a request resultsin a HT_RETRY status, the application can use any time indicated in thisfield to retry the request at a later time. The Library does not initiateany request on its own - it's for the application to do. The time returnedby this function is in calendar time or -1 if not available.*/extern time_t HTResponse_retryTime (HTResponse * response);extern BOOL HTResponse_setRetryTime (HTResponse * response, time_t retry);/*.  HTTP Access Authentication Challanges.When a access denied response is returned to the Library, for example froma remote HTTP server, this code is passed back to the application. Theapplication can then decide whether a new request should be established ornot. These two methods return the authentication information required toissue a new request, that is the new anchor and any list of keywords associatedwith this anchor.*/extern BOOL HTResponse_addChallenge (HTResponse * response, char * token, char * value);extern BOOL HTResponse_deleteChallengeAll (HTResponse * response);extern HTAssocList * HTResponse_challenge (HTResponse * response);/*(  Realms)*/extern BOOL HTResponse_setRealm (HTResponse * response, char * realm);extern const char * HTResponse_realm (HTResponse * response);/*(  Access Authentication Schemes)*/extern BOOL HTResponse_setScheme (HTResponse * response, char * scheme);extern const char * HTResponse_scheme (HTResponse * response);/*.  HTTP Connection Control Directives.The connection control directives are all part of the connection header andcontrol the behavior of this connection. The respose object contains theconnection information that we have received in the response.*/extern BOOL HTResponse_addConnection       (HTResponse * response,                                            char * token, char * value);extern BOOL HTResponse_deleteConnectionAll (HTResponse * response);extern HTAssocList * HTResponse_connection (HTResponse * response);/*.  HTTP Extensions (PEP).HTTP can be extended in several ways but traditionally it has been by usingnew headers. Here we present a new idea which provides a framework for describingextensions and their scope. This is only an idea an may be modified later!The implementation of the extensions can be found in thePEP module(  Protocol)This association list is a list of the extension directives that were receivedas part of the response.*/extern BOOL HTResponse_addProtocol       (HTResponse * response,                                          char * token, char * value);extern BOOL HTResponse_deleteProtocolAll (HTResponse * response);extern HTAssocList * HTResponse_protocol (HTResponse * response);/*(  Protocol Info)This association list is a list of the extension directives that were receivedas part of the response.*/extern BOOL HTResponse_addProtocolInfo       (HTResponse * response,                                              char * token, char * value);extern BOOL HTResponse_deleteProtocolInfoAll (HTResponse * response);extern HTAssocList * HTResponse_protocolInfo (HTResponse * response);/*(  Protocol Request)This association list is a list of the extension directives that were receivedas part of the response.*/extern BOOL HTResponse_addProtocolRequest       (HTResponse * response,                                                 char * token, char * value);extern BOOL HTResponse_deleteProtocolRequestAll (HTResponse * response);extern HTAssocList * HTResponse_protocolRequest (HTResponse * response);/*.  HTTP Cache Control Directives.This association list is a list of the cache control directives that havebeen received as part of the response. We also keep track of whether theresponse is cachable or not.*/extern BOOL HTResponse_addCacheControl       (HTResponse * response,                                              char * token, char *value);extern BOOL HTResponse_deleteCacheControlAll (HTResponse * response);extern HTAssocList * HTResponse_cacheControl (HTResponse * response);/*(  Is the response Cachable?)The various cache-control headers and directives decides whetheran object is cachable or not. Check these methods before starting caching!*/typedef enum _HTCachable {    HT_NO_CACHE            = 0,    HT_CACHE_ALL           = 1,    HT_CACHE_ETAG          = 2,    HT_CACHE_NOT_MODIFIED  = 3} HTCachable; extern HTCachable HTResponse_isCachable  (HTResponse * me);extern BOOL HTResponse_setCachable (HTResponse * me, HTCachable mode);/*(  The Response Enity Tag (etag))Return the etag if any*/extern char * HTResponse_etag (HTResponse * me);/*(  Has the Response been Cached?)When we gc the response object we need to know whether the header lists havebeen inherited by other objects (the anchor object,for example) and hence shouldn't be deleted. We can tell the response objectthis by using the following method call*/extern BOOL HTResponse_isCached (HTResponse * me, BOOL mode);/*(  Some Cache-Control helper Methods)Some useful helper functions for handling specific response cache directives*/extern time_t HTResponse_maxAge              (HTResponse * response);extern BOOL   HTResponse_mustRevalidate      (HTResponse * response);extern char * HTResponse_noCache             (HTResponse * response);/*(  Partial responses 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.*/extern BOOL HTResponse_addRange       (HTResponse * response,                                       char * unit, char * range);extern BOOL HTResponse_deleteRangeAll (HTResponse * response);extern HTAssocList * HTResponse_range (HTResponse * response);/*(  Content Length)We store the content length so that we have an idea of how many bytes toexpect.*/extern long int HTResponse_length (HTResponse * response);extern void HTResponse_setLength  (HTResponse * response, long int length);extern void HTResponse_addLength  (HTResponse * response, long int deltalength);/*(  Content Type (Media type))We store the content-type of the response along with the charset, level andall other paramaters that may follow the content-type itself.*/extern HTFormat HTResponse_format (HTResponse * response);extern void HTResponse_setFormat  (HTResponse * response, HTFormat format);/*The Response object stores all content type parameters (charset, level, etc.)in an Association list so here you will always be able to find them. We alsohave a few methods for the special cases: charset andlevel as they are often needed.*/extern HTAssocList * HTResponse_formatParam (HTResponse * response);extern BOOL HTResponse_addFormatParam  (HTResponse * response,					const char * name, const char * value);/*  Charset parameter to Content-Type*/extern HTCharset HTResponse_charset (HTResponse * response);extern BOOL HTResponse_setCharset   (HTResponse * response, HTCharset charset);/*  Level parameter to Content-Type*/extern HTLevel HTResponse_level (HTResponse * response);extern BOOL HTResponse_setLevel (HTResponse * response, HTLevel level);/*(  Content Encodings)The list of encodings that we have received in the response.*/extern HTList * HTResponse_encoding (HTResponse * response);extern BOOL HTResponse_addEncoding  (HTResponse * response, HTEncoding enc);/*(  Transfer Encodings)The list of encodings that we have received in the response.*/extern HTList * HTResponse_transfer (HTResponse * response);extern BOOL HTResponse_addTransfer  (HTResponse * response, HTEncoding te);/*(  Content Transfer Encodings)Any transfer encoding that we have received in the response.*/extern HTEncoding HTResponse_contentTransferEncoding (HTResponse * response);extern BOOL HTResponse_setContentTransferEncoding (HTResponse * response,                                                   HTEncoding cte);/*(  Vary Headers)Any Vary header fields*/extern BOOL HTResponse_addVariant (HTResponse * me, char * token, char * value);extern BOOL HTResponse_deleteVariantAll (HTResponse * me);extern HTAssocList * HTResponse_variant (HTResponse * me);/*(  Trailers)Any trailer header fields*/extern BOOL HTResponse_addTrailer (HTResponse * me, char * token, char * value);extern BOOL HTResponse_deleteTrailerAll (HTResponse * me);extern HTAssocList * HTResponse_trailer (HTResponse * me);/*(  Original Response Headers)The MIME parser may add the original response headersas (name,value) pairs. The information may be picked up by thepersistent cache manager.*/extern BOOL HTResponse_addHeader       (HTResponse * response,                                        char * token, char * value);extern BOOL HTResponse_deleteHeaderAll (HTResponse * response);extern HTAssocList * HTResponse_header (HTResponse * response);extern HTAssocList * HTResponse_handOverHeader (HTResponse * me);/*(  The HTTP reason string)The string returned in the HTTP status line. Some servers send custominfo in this string and applications may want to show it.*/extern char * HTResponse_reason (HTResponse * me);extern BOOL HTResponse_setReason (HTResponse * me, char * reason);/**/#endif /* HTRESPONSE_H *//*    @(#) $Id: HTResponse.html,v 2.14 2000/12/19 11:21:29 kahan Exp $*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品一区二区三区四区| 美腿丝袜亚洲色图| 成人精品视频一区二区三区尤物| 欧美成人激情免费网| 精品在线亚洲视频| 久久一夜天堂av一区二区三区| 国产最新精品免费| 国产欧美日韩在线看| 成人av在线网站| 亚洲黄色性网站| 欧美精品乱码久久久久久按摩| 蜜臀av一区二区在线免费观看| 精品国产乱码久久久久久免费| 国产精品影音先锋| 中文字幕制服丝袜一区二区三区 | 久久精品国产精品亚洲红杏| 精品国产一区久久| 成人手机电影网| 亚洲精品日韩综合观看成人91| 91国偷自产一区二区三区成为亚洲经典 | 亚洲精品国产一区二区三区四区在线| 欧美亚洲一区二区在线| 日韩和的一区二区| 久久久久久久久一| 欧美亚洲免费在线一区| 日韩高清一区在线| 亚洲国产精品二十页| 欧美性videosxxxxx| 激情文学综合插| 亚洲男同1069视频| 日韩欧美一级二级| 91丨porny丨户外露出| 奇米在线7777在线精品| 国产精品卡一卡二卡三| 欧美一级一区二区| 91免费在线视频观看| 日韩精品国产精品| 亚洲欧美在线另类| 日韩精品一区在线观看| 97久久久精品综合88久久| 日韩中文欧美在线| 最新欧美精品一区二区三区| 日韩免费一区二区三区在线播放| 99国产精品久久久| 麻豆91在线看| 亚洲综合免费观看高清完整版在线| 精品久久久久久久人人人人传媒 | 欧美电影免费观看高清完整版在| 99精品在线观看视频| 日韩av电影一区| 亚洲精品免费在线播放| 国产视频不卡一区| 日韩欧美一级二级三级久久久| 在线亚洲免费视频| eeuss影院一区二区三区| 狠狠色丁香婷婷综合| 五月天欧美精品| 亚洲人成在线播放网站岛国| 久久嫩草精品久久久精品一| 欧美一级一区二区| 欧美女孩性生活视频| 91免费版pro下载短视频| 成人午夜av在线| 国产高清精品网站| 国产一区不卡在线| 日本欧美一区二区| 日韩电影在线一区二区| 亚洲国产精品精华液网站| 亚洲激情成人在线| 亚洲综合视频网| 伊人色综合久久天天| 亚洲日本免费电影| 亚洲免费看黄网站| 亚洲美女视频在线| 一区二区三区免费在线观看| 亚洲色大成网站www久久九九| 国产精品你懂的在线欣赏| 久久精品这里都是精品| wwwwxxxxx欧美| 国产网站一区二区| 国产色91在线| 欧美国产乱子伦| 国产精品久久久久桃色tv| 国产精品久久三区| 亚洲人精品一区| 亚洲不卡在线观看| 日韩国产欧美在线播放| 麻豆国产欧美日韩综合精品二区| 91久久精品一区二区| 在线观看成人小视频| 欧美三级韩国三级日本三斤| 欧美日韩不卡一区| 日韩欧美一级二级三级久久久| 精品福利一区二区三区免费视频| 久久亚洲捆绑美女| 国产精品无遮挡| 亚洲欧美日韩国产手机在线| 一区二区三区91| 青青草一区二区三区| 国产真实精品久久二三区| 成人午夜精品在线| 在线观看成人小视频| 日韩欧美一二三区| 国产欧美日韩另类视频免费观看| 亚洲欧洲三级电影| 亚洲专区一二三| 蜜桃免费网站一区二区三区| 国产91精品一区二区麻豆亚洲| 99久久精品国产毛片| 欧美一a一片一级一片| 欧美变态口味重另类| 国产日韩精品一区| 亚洲伊人色欲综合网| 免费一级欧美片在线观看| 国产乱对白刺激视频不卡| 99久久精品国产精品久久 | 欧美一级理论片| 久久婷婷久久一区二区三区| 中文字幕日韩欧美一区二区三区| 亚洲成在线观看| 成人丝袜高跟foot| 7777精品伊人久久久大香线蕉 | av在线不卡电影| 欧美精品123区| 国产欧美一区视频| 亚洲一区二区高清| 国产一区二区三区在线观看免费| 色婷婷久久一区二区三区麻豆| 欧美一卡二卡三卡四卡| 亚洲视频在线观看一区| 久久国产欧美日韩精品| 欧美午夜不卡在线观看免费| 久久久精品2019中文字幕之3| 亚洲综合色丁香婷婷六月图片| 国内精品免费**视频| 欧美三级电影精品| 国产欧美一区二区精品久导航| 日日夜夜精品视频免费| 91女厕偷拍女厕偷拍高清| 精品国产一区二区三区不卡| 亚洲成av人片一区二区| 91性感美女视频| 欧美极品aⅴ影院| 久久国产夜色精品鲁鲁99| 精品视频在线免费看| 国产精品伦一区| 国产一区二区中文字幕| 欧美人伦禁忌dvd放荡欲情| 亚洲三级电影全部在线观看高清| 国产伦精品一区二区三区免费 | 天堂蜜桃一区二区三区| 波多野结衣中文字幕一区 | 欧美日韩国产综合视频在线观看| 欧美国产欧美亚州国产日韩mv天天看完整| 中文字幕制服丝袜成人av| 午夜视频在线观看一区二区| 色婷婷av一区二区三区大白胸| 欧美激情在线观看视频免费| 国产精品自产自拍| 久久综合狠狠综合久久激情| 免费在线观看精品| 91精品国产品国语在线不卡| 午夜精品福利在线| 欧美无人高清视频在线观看| 一区二区三区四区在线播放| 色一区在线观看| 亚洲综合色婷婷| 欧美午夜电影网| 调教+趴+乳夹+国产+精品| 欧美日韩美少妇| 视频一区二区不卡| 欧美理论在线播放| 天天色天天爱天天射综合| 欧美人xxxx| 老汉av免费一区二区三区 | 久久你懂得1024| 国产精品一二三四区| 中文字幕欧美三区| www.日韩av| 夜夜嗨av一区二区三区网页| 欧美日韩在线免费视频| 视频一区在线播放| 在线91免费看| 国产一区二区三区四区在线观看| 久久精品夜色噜噜亚洲aⅴ| 成人动漫一区二区在线| 亚洲视频综合在线| 欧美日韩另类一区| 九一九一国产精品| 欧美经典三级视频一区二区三区| av一区二区三区在线| 亚洲综合图片区| 日韩一区二区免费高清| 国产一区二区导航在线播放| 成人欧美一区二区三区| 欧美三级视频在线观看| 国产在线视频不卡二| 日韩美女啊v在线免费观看| 欧美日韩免费在线视频| 久久99精品国产.久久久久久|