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

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

?? htaccess.h

?? www工具包. 這是W3C官方支持的www支撐庫. 其中提供通用目的的客戶端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*    					W3C Sample Code Library libwww Accessing URIs!  Accessing URIs!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*This module is the application interface module to theRequest class. It contains a lot of methods forloading URIs and also for uploading URIs using PUT orPOST, for example. You can use the Request class directly butthis module makes it easier to use by providing a lot of small request functionsusing the Request class in different ways. It contains help functions foraccessing documents and for uploading documents to a remote server.This module contains functions for handling all HTTP/1.1 methods:      GET Requests      	 	       o 	 	Various GET requests including specialized functions like	loading a rule file, etc.      o 	 	Search requests based on the GET method      o 	 	Formdata requests based on the GET method    	       PUT Requests      	 	       o 	 	Save a document from memory ASIS using PUT      o 	 	Save a structured document from memory using PUT      o 	 	Save any URI (FTP, HTTP, local disk) using PUT    	       POST Requests      	 	       o 	 	Post Formdata to a remote HTTP server      o 	 	Post a document from memory ASIS to a remote HTTP	server    	       HEAD, DELETE, OPTIONS, and TRACE requests      	 	       o 	 	Get metainformation about a document using HEAD requests      o 	 	Delete documents based on the DELETE method      o 	 	Get information about the features supoprted by a resource	using OPTIONS      o 	 	Trace a request using the TRACE method    	 Furthermore, it contains a few access methods for handlingincoming requests - in orther words acting as a server. Although libwwwis primarily for clients, it is in fact symmetric in that it can handle bothclient requests and server requests.This module is implemented by HTAccess.c, and itis a part of the  W3C Sample CodeLibrary.*/#ifndef HTACCESS_H#define HTACCESS_H#include "HTReq.h"#include "HTAnchor.h"/*.  Load a Document (Method = GET).URIs can be accesses using a character string, for example"http://www.w3.org" or it can be accessed by using the libwwwrepresentation of a URI called an Anchor object.Note that we call all objects accessible through URIs for documents- this is a notion we have inherited from the hypertext world.(  Load a Document from Absolute URI)Request a document referencd by an absolute URI. The output from therequest is passed to the Stream Pipe Managerthat figures out where to pump the data. This can for example be to the displayor to a local file depending on the set ofconverters registered by the application.*/extern BOOL HTLoadAbsolute (const char * url, HTRequest * request);/*(  Load a Document from Relative URI)Request a document referenced by a relative URI. The relative URIis made absolute by resolving it relative to the address of the 'base'anchor.*/extern BOOL HTLoadRelative (const char * 	relative,			    HTParentAnchor *	base,			    HTRequest *		request);/*(  Load a Document into Memory)Request a document referred to by the URI and load it into aHTChunk object. A chunkobject is a dynamic string so in the end you will have a single memorybuffer containing the document. The chunk must be freed by the caller.*/extern HTChunk * HTLoadToChunk (const char * url, HTRequest * request);/*(  Load a Document and Save as a Local File)This function loads a URI and saves the contents in the specifed file. Thefile should not  be open, as the load function both opens and closesthe file. If the file already exists then it asks the user whether the fileshould be overwritten or not. the contents is saved ASIS - that is- we do not touch the contents of the file!*/extern BOOL HTLoadToFile (const char * url, HTRequest * request,			  const char * filename);/*(  Load a Document and put the Contents into a Stream)Request a document referenced by an absolute URI and sending the data downa stream. This stream can be anny stream you like, for eample one from theStream Interface.*/extern BOOL HTLoadToStream (const char * url, HTStream * output,			    HTRequest * request);/*(  Load a Document using an Anchor)Here the URI is represented by an Anchor object.You can get an anchor object representing a URI by passing the URI to theappropriate method in the Anchor class.*/extern BOOL HTLoadAnchor (HTAnchor * anchor, HTRequest * request);/*(  Load a Document into Memory using an Anchor)This is the same as HTLoadToChunk but instead of passing a URIstring you pass an HTAnchor object. Internally,all URIs are represented as anchors which contains all the information wehave about the resource. The chunk must be freed by the caller.*/extern HTChunk * HTLoadAnchorToChunk (HTAnchor * anchor, HTRequest * request);/*(  Recursively Request a Document using Anchors)Same as HTLoadAnchor() but the information in theerror stack in the requestobject is kept, so that any error messages in one. This function is almostidentical to HTLoadAnchor, but it doesn't clear the error stackso that the information in there is kept.*/extern BOOL HTLoadAnchorRecursive (HTAnchor * anchor, HTRequest * request);/*.  Load Special Documents.We also have a set of functions for loading special files like rules fileswhich also are referenced by a URI but which do have to be treated specially.(  Load a Rule File)Rule files can be loaded just like any other URI but you can also just usethese functions which do all the work for you: they load a rule find withthe URI specified and add the set of rules to the existing set.They come in two flavours - one that asks the user whether it is OK to addthe rules and one that does it automatically without asking. As the app wouldhave to call this method explicitly, it may have other ways of protectingthe user.Both functions use preemptive requestsso that everything else stops in the meantime.*/extern BOOL HTLoadRules (const char * url);extern BOOL HTLoadRulesAutomatically (const char * url);/*.  Search a Document (Method = GET).The search methods all use GET as the method in theHTTP request. The functions takethe keywords and encode them according toRFC1866 (Hypertext Markup language). That is, the query part is separatedfrom the rest of the URI by a "?".The keywords are passed to the function as a ChunkObject and each keyword must be separated by a space ' '. Thiswill then be converted into a '+' before added to the URI.(  Search a Document from Absolute URI)*/extern BOOL HTSearchAbsolute (HTChunk *		keywords,			      const char *	base,			      HTRequest *	request);/*(  Search a Document from Relative URI)Search a document referenced by a relative URI. The relative URI ismade absolute by resolving it relative to the address of the 'base'anchor.*/extern BOOL HTSearchRelative (HTChunk *		keywords,			      const char * 	relative,			      HTParentAnchor *	base,			      HTRequest *	request);/*(  Search a Document using an Anchor)*/extern BOOL HTSearchAnchor (HTChunk *		keywords,			    HTAnchor *		anchor,			    HTRequest * 	request);/*(  Search a Document using an Anchor Using a String)This works exactly as the HTSearchAnchor() function but takesa C string instead of a chunk object.*/extern BOOL HTSearchString (const char *	keywords,			    HTAnchor *		anchor,			    HTRequest * 	request);/*.  Submit Forms Using GET Method.Formdata can be sent to an HTTP server in two ways - it can either use aGET method or it can use a POST method. The differenceis whether the request "has side effects" or not. For example, if you areordering a pizza then the (hopefully positive) sideeffect is that you actuallyget one delivered. However, if you are issuing search data - for exampleto Alta Vista, then there is no sideeffect. In the former example you woulduse the GET form and in the latter you would use thePOST form.(  Submit Form from Absolute URI using GET)Submit formdata using GET to the address indicated as the "base" which mustbe an absolute URI. The list of form data must be given as anassociation list where the name is the field nameand the value is the value of the field.*/extern BOOL HTGetFormAbsolute (HTAssocList *	formdata,			       const char *	base,			       HTRequest *	request);/*(  Submit Form from Relative URI using GET)Submit formdata using GET to the address indicated relative to the addressof the base anchor. The list of form data must be given as anassociation list where the name is the field nameand the value is the value of the field.*/extern BOOL HTGetFormRelative (HTAssocList * 	formdata,			       const char * 	relative,			       HTParentAnchor *	base,			       HTRequest *	request);/*(  Send a Form using an Anchor and the GET Method)Submit formdata using GET to the address indicated of the anchor. The listof form data must be given as an association listwhere the name is the field name and the value is the value of the field.*/extern BOOL HTGetFormAnchor (HTAssocList *	formdata,			     HTAnchor *		anchor,			     HTRequest * 	request);/*.  Submit Forms Using POST Method.The data in a POST form is sent as the body part of theHTTP message whereas aGET form wraps it all up into the URI. In order to be able touse the POST data object at a later point in time, we createa new anchor on the fly. This anchor has a URI file location which pointsinto the temporary area given by the User ProfileObject. That is - you can actually save the anchor using aPUT request and then be able to retrive the form data at a laterpoint in time. Even though this may seem "ambitious" for posting form data,it is really just a special example of sending any kind of data to a remoteserver. All POST form functions return the new anchor orNULL if they fail.(  Submit Form from Absolute URI using POST)Submit formdata using POST to the address indicated as the "base" which mustbe an absolute URI. The list of form data must be given as anassociation list where the name is the field nameand the value is the value of the field.*/extern HTParentAnchor * HTPostFormAbsolute (HTAssocList *	formdata,					    const char *	base,					    HTRequest *	request);/*(  Submit Form from a Relative URI using GET)Submit formdata using POST to the address indicated relative to the addressof the base anchor. The list of form data must be given as an associationlist where the name is the field name and the value is the value of the field.*/extern HTParentAnchor * HTPostFormRelative (HTAssocList * 	formdata,					    const char * 	relative,					    HTParentAnchor *	base,					    HTRequest *		request);/*(  Submit Form using an Anchor and the POST Method)Submit formdata using POST to the address indicated of the anchor. The listof form data must be given as an association listwhere the name is the field name and the value is the value of the field.*/extern HTParentAnchor * HTPostFormAnchor (HTAssocList *	formdata,					  HTAnchor *	anchor,					  HTRequest * 	request);/*(  Submit Form and Save the Result in a Memory Buffer)Submit formdata to the address referred to by theHTAnchor object and load the result of the POSTinto a HTChunk object. Achunk object is a dynamic memory buffer so inthe end you will have a single memory buffer containing the document. Thechunk must be freed by the caller.*/extern HTChunk * HTPostFormAnchorToChunk (HTAssocList * formdata,                                          HTAnchor *    anchor,                                          HTRequest *   request);/*.  Get Metainformation about a Document (Method = HEAD).If you are not interested in the document itself but only in themetainformation that describes the document then you shoulduse the HEAD method in your request.(  Get Metainformation about a Document from Absolute URI)Request metainfomration about a document referencd by an absoluteURI.*/extern BOOL HTHeadAbsolute (const char * url, HTRequest * request);/*(  Get Metainformation about a Document from Relative URI)Request metainformation about a document referenced by a relativeURI.*/extern BOOL HTHeadRelative (const char * 	relative,			    HTParentAnchor *	base,			    HTRequest *		request);/*(  Get Metainformation about a Document using an Anchor)Here the URI is represented by an Anchor object.You can get an anchor object representing a URI by passing the URI to theapproproiate method in the Anchor class.*/extern BOOL HTHeadAnchor (HTAnchor * anchor, HTRequest * request);/*

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲不卡av一区二区三区| 欧美日韩亚洲高清一区二区| 北条麻妃国产九九精品视频| 成人av电影在线网| 97精品国产露脸对白| 91国在线观看| 91麻豆精品国产无毒不卡在线观看 | 久久激情五月激情| 久久疯狂做爰流白浆xx| 国产精品1区二区.| 99久久综合国产精品| 欧洲精品一区二区三区在线观看| 欧美色欧美亚洲另类二区| 日韩亚洲欧美综合| 日本一区免费视频| 亚洲在线观看免费| 久久国产精品99久久人人澡| 成人午夜电影网站| 欧洲一区在线电影| 日韩小视频在线观看专区| 国产色一区二区| 亚洲女性喷水在线观看一区| 亚洲一区影音先锋| 蜜桃av一区二区| 波多野结衣亚洲一区| 欧美午夜精品免费| 久久新电视剧免费观看| 亚洲欧美一区二区三区孕妇| 日韩影院免费视频| 国产成人久久精品77777最新版本| 色综合一区二区| 日韩精品一区二区三区视频| 亚洲三级在线播放| 亚洲一区二区三区精品在线| 韩国三级在线一区| 在线观看av一区| 久久综合久久久久88| 亚洲一区电影777| 成人av电影在线| 日韩午夜在线观看视频| 久久免费视频色| 人人超碰91尤物精品国产| 不卡的av电影| 久久精品亚洲精品国产欧美 | 日韩免费观看高清完整版 | 国产精品 欧美精品| 欧美一区二区三区思思人| 亚洲欧美视频一区| 国产综合色视频| 欧美一区二区三区在线观看| 国产精品久久久久久久裸模 | 欧美日韩成人在线一区| 久久综合久色欧美综合狠狠| 亚洲图片欧美色图| 国产精品亚洲人在线观看| 欧美日韩另类国产亚洲欧美一级| 国产校园另类小说区| 首页国产丝袜综合| 日本精品视频一区二区| 中文字幕av一区 二区| 精品伊人久久久久7777人| 欧美日韩日日骚| 亚洲欧美中日韩| 国产成人在线观看免费网站| 日韩视频国产视频| 亚洲成人资源网| 日本道色综合久久| 亚洲视频 欧洲视频| 国产99久久久久久免费看农村| 欧美日产国产精品| 一区二区三区久久| 91麻豆精品在线观看| 国产精品色眯眯| 国产成a人亚洲| 久久一留热品黄| 九九精品一区二区| 日韩视频中午一区| 日本aⅴ亚洲精品中文乱码| 欧美男女性生活在线直播观看| 亚洲人成亚洲人成在线观看图片| 国模套图日韩精品一区二区| 欧美色国产精品| 亚洲高清中文字幕| 色香蕉久久蜜桃| 亚洲欧美在线视频| 91热门视频在线观看| 国产精品丝袜在线| 成人动漫视频在线| 国产日产欧产精品推荐色| 国产在线国偷精品产拍免费yy| 欧美电视剧在线观看完整版| 国产在线国偷精品产拍免费yy | 国产一区二区看久久| 国产区在线观看成人精品| 国产一二三精品| 欧美成人aa大片| 国产日韩欧美制服另类| 国产精品自拍三区| 1区2区3区国产精品| 95精品视频在线| 亚洲一区日韩精品中文字幕| 欧美色图激情小说| 青青草伊人久久| 国产三级久久久| jlzzjlzz亚洲日本少妇| 亚洲一区中文日韩| 欧美一区二区三区四区视频| 久久 天天综合| 最新热久久免费视频| 在线视频一区二区三| 午夜日韩在线电影| 精品日韩欧美在线| 精品一区二区影视| 国产精品入口麻豆九色| 99视频一区二区| 性做久久久久久免费观看欧美| 欧美一区二区在线不卡| 国产麻豆日韩欧美久久| 中文字幕一区不卡| 欧美日韩在线一区二区| 美腿丝袜亚洲综合| 中文字幕不卡一区| 欧美日韩国产三级| 久久99热这里只有精品| 国产免费观看久久| 欧美日韩一级二级三级| 国产原创一区二区| 中文字幕日韩一区| 777亚洲妇女| 风间由美一区二区三区在线观看 | 国产经典欧美精品| 亚洲欧美激情插| 在线综合视频播放| 久草中文综合在线| 综合电影一区二区三区| 6080国产精品一区二区| 国产激情视频一区二区三区欧美 | 日韩福利电影在线观看| 久久久国产精品麻豆| 在线观看日韩一区| 国产麻豆视频精品| 亚洲高清一区二区三区| 久久久久久久久久电影| 在线精品观看国产| 国产主播一区二区| 亚洲免费观看视频| 精品少妇一区二区| 欧美日韩国产一级片| 成人高清视频免费观看| 日韩电影在线免费| 亚洲伊人色欲综合网| 欧美国产亚洲另类动漫| 91麻豆精品国产| 欧美性猛交一区二区三区精品| 国产伦精品一区二区三区视频青涩 | caoporn国产一区二区| 国模冰冰炮一区二区| 午夜影视日本亚洲欧洲精品| 国产精品理论片| 精品女同一区二区| 欧美日韩五月天| 色天使久久综合网天天| 国产成人在线色| 韩国v欧美v亚洲v日本v| 亚洲成精国产精品女| 国产精品系列在线| 4438亚洲最大| 欧日韩精品视频| 成人综合婷婷国产精品久久| 奇米色777欧美一区二区| 欧美国产日韩在线观看| 欧美精品一区二区高清在线观看 | 欧美国产乱子伦 | 亚洲在线视频网站| 伊人一区二区三区| 中文字幕亚洲电影| 国产精品理伦片| 国产精品理伦片| 日韩一区中文字幕| 亚洲乱码国产乱码精品精可以看 | 色婷婷激情一区二区三区| 99久久综合精品| 一本一道波多野结衣一区二区| av在线不卡电影| 色综合天天综合给合国产| 99久久精品国产导航| jiyouzz国产精品久久| a亚洲天堂av| 91丨九色丨蝌蚪富婆spa| 色哟哟一区二区三区| 欧美视频三区在线播放| 欧美欧美午夜aⅴ在线观看| 91精品国产乱码久久蜜臀| 日韩欧美精品在线视频| 欧美tickling网站挠脚心| 久久香蕉国产线看观看99| 国产日韩欧美激情| 亚洲同性gay激情无套| 亚洲午夜精品在线| 日韩成人免费看|