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

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

?? alhttpcommon.pas

?? Description: common http function that can be use by HTTP Component
?? PAS
?? 第 1 頁 / 共 4 頁
字號:
{*************************************************************
Author:       St閜hane Vander Clock (SVanderClock@Arkadia.com)
www:          http://www.arkadia.com
EMail:        SVanderClock@Arkadia.com

product:      Alcinoe Common http function
Version:      3.06

Description:  common http function that can be use by HTTP Component

Legal issues: Copyright (C) 1999-2005 by Arkadia Software Engineering

              This software is provided 'as-is', without any express
              or implied warranty.  In no event will the author be
              held liable for any  damages arising from the use of
              this software.

              Permission is granted to anyone to use this software
              for any purpose, including commercial applications,
              and to alter it and redistribute it freely, subject
              to the following restrictions:

              1. The origin of this software must not be
                 misrepresented, you must not claim that you wrote
                 the original software. If you use this software in
                 a product, an acknowledgment in the product
                 documentation would be appreciated but is not
                 required.

              2. Altered source versions must be plainly marked as
                 such, and must not be misrepresented as being the
                 original software.

              3. This notice may not be removed or altered from any
                 source distribution.

              4. You must register this software by sending a picture
                 postcard to the author. Use a nice stamp and mention
                 your name, street address, EMail address and any
                 comment you like to say.

Know bug :

History :     04/10/2005: * Move ALTryGMTHeaderHttpStrToDateTime to
                            ALTryGMTRFC822StrToGmtDateTime in AlFcnRFC
                          * Move ALGMTHeaderHttpStrToDateTime to
                            ALGMTRFC822StrToGmtDateTime in AlFcnRFC
                          * Move ALGetDefaultFileExtFromHTTPMIMEContentType to
                            ALGetDefaultFileExtFromMIMEContentType in AlFcnMime
                          * Move ALGetDefaultHTTPMIMEContentTypeFromExt to
                            ALGetDefaultMIMEContentTypeFromExt in alFcnMime
              04/10/2005: * add some new procedures
                          * Update TALHTTPRequestCookie and TALHTTPRequestCookieCollection
                            and TALHTTPRequestHeader in the way they can be use in
                            the object inspector

Link :        http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
              http://wp.netscape.com/newsref/std/cookie_spec.html

Please send all your feedback to SVanderClock@Arkadia.com
**************************************************************}
unit ALHttpCommon;

interface

uses Windows,
     Classes,
     sysutils,
     Wininet;

Type

  {-- onchange Event that specify the property index that is just changed --}
  TALHTTPPropertyChangeEvent = procedure(sender: Tobject; Const PropertyIndex: Integer) of object;

  {--protocol version--}
  TALHTTPProtocolVersion = (
                            HTTPpv_1_0,
                            HTTPpv_1_1
                           );

  {--Request method--}
  TALHTTPRequestMethod = (
                          HTTPrm_Get,
                          HTTPrm_Post
                         );

  {--TALHTTPCookie--}
  TALHTTPRequestCookie = class(TCollectionItem)
  private
    FName: string;
    FValue: string;
    FPath: string;
    FDomain: string;
    FExpires: TDateTime;
    FSecure: Boolean;
  protected
    function GetHeaderValue: string;
    procedure SetHeaderValue(Const aValue: string);
  public
    constructor Create(Collection: TCollection); override;
    procedure AssignTo(Dest: TPersistent); override;
    property HeaderValue: string read GetHeaderValue write SetHeaderValue;    
  Published
    property Name: string read FName write FName;
    property Value: string read FValue write FValue;
    property Domain: string read FDomain write FDomain;
    property Path: string read FPath write FPath;
    property Expires: TDateTime read FExpires write FExpires;
    property Secure: Boolean read FSecure write FSecure Default False;
  end;

  {--TALCookieCollection--}
  TALHTTPRequestCookieCollection = class(TOwnedCollection)
  private
  protected
    function GetCookie(Index: Integer): TALHTTPRequestCookie;
    procedure SetCookie(Index: Integer; Cookie: TALHTTPRequestCookie);
  public
    function Add: TALHTTPRequestCookie;
    property Items[Index: Integer]: TALHTTPRequestCookie read GetCookie write SetCookie; default;
  end;

  {--Request header--}
  TALHTTPRequestHeader = Class(Tcomponent)
  Private
    fAccept: String;
    fAcceptCharSet: String;
    fAcceptEncoding: String;
    fAcceptLanguage: String;
    fAllow: String;
    fAuthorization: String;
    fCacheControl: String;
    fConnection: string;
    fContentEncoding: string;
    fContentLanguage: string;
    fContentLength: string;
    fContentLocation: string;
    fContentMD5: string;
    fContentRange: string;
    fContentType: string;
    fDate: string;
    fExpect: string;
    fExpires: string;
    fFrom: String;
    fHost: String;
    fIfMatch: string;
    fIfModifiedSince: string;
    fIfNoneMatch: string;
    fIfRange: string;
    fIfUnmodifiedSince: string;
    fLastModified: string;
    fMaxForwards: string;
    fPragma: string;
    fProxyAuthorization: string;
    fRange: string;
    fReferer: String;
    fTE: string;
    fTrailer: String;
    fTransferEncoding: String;
    fUpgrade: String;
    fUserAgent: String;
    fVia: String;
    fWarning: String;
    FCustomHeaders: Tstrings;
    FCookies: TALHTTPRequestCookieCollection;
    FOnChange: TALHTTPPropertyChangeEvent;
    Procedure DoChange(propertyIndex: Integer);
    procedure SetHeaderValueByPropertyIndex(const Index: Integer; const Value: string);
    Function GetRawHeaderText: String;
    procedure SetRawHeaderText(const aRawHeaderText: string);
    procedure SetCookies(const Value: TALHTTPRequestCookieCollection);
    procedure SetCustomHeaders(const Value: Tstrings);
  protected
    procedure AssignTo(Dest: TPersistent); override;
  public
    constructor Create(AOwner: TComponent); override;
    destructor Destroy; override;
    procedure Clear;
    Property RawHeaderText: String read GetRawHeaderText write SetRawHeaderText;
  Published
    property Accept: String index 0 read FAccept write SetHeaderValueByPropertyIndex; {Accept: audio/*; q=0.2, audio/basic}
    property AcceptCharSet: String index 1 read FAcceptCharSet write SetHeaderValueByPropertyIndex; {Accept-Charset: iso-8859-5, unicode-1-1;q=0.8}
    property AcceptEncoding: String index 2 read FAcceptEncoding write SetHeaderValueByPropertyIndex; {Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0}
    property AcceptLanguage: String index 3 read FAcceptLanguage write SetHeaderValueByPropertyIndex; {Accept-Language: da, en-gb;q=0.8, en;q=0.7}
    property Allow: String index 4 read FAllow write SetHeaderValueByPropertyIndex; {Allow: GET, HEAD, PUT}
    property Authorization: String index 5 read FAuthorization write SetHeaderValueByPropertyIndex; {Authorization: BASIC d2VibWFzdGVyOnpycW1hNHY=}
    property CacheControl: String index 6 read FCacheControl write SetHeaderValueByPropertyIndex; {Cache-Control: no-cache}
    property Connection: string index 7 read FConnection write SetHeaderValueByPropertyIndex; {Connection: close}
    property ContentEncoding: string index 8 read FContentEncoding write SetHeaderValueByPropertyIndex; {Content-Encoding: gzip}
    property ContentLanguage: string index 9 read FContentLanguage write SetHeaderValueByPropertyIndex; {Content-Language: mi, en}
    property ContentLength: string index 10 read FContentLength write SetHeaderValueByPropertyIndex;  {Content-Length: 3495}
    property ContentLocation: string index 11 read FContentLocation write SetHeaderValueByPropertyIndex;  {Content-Location: http://localhost/page.asp}
    property ContentMD5: string index 12 read FContentMD5 write SetHeaderValueByPropertyIndex;  {Content-MD5: [md5-digest]}
    property ContentRange: string index 13 read FContentRange write SetHeaderValueByPropertyIndex;  {Content-Range: bytes 2543-4532/7898}
    property ContentType: string index 14 read FContentType write SetHeaderValueByPropertyIndex; {Content-Type: text/html; charset=ISO-8859-4}
    property Date: string index 15 read FDate write SetHeaderValueByPropertyIndex; {Date: Tue, 15 Nov 1994 08:12:31 GMT}
    property Expect: string index 16 read fExpect write SetHeaderValueByPropertyIndex; {Expect: 100-continue}
    property Expires: string index 17 read FExpires write SetHeaderValueByPropertyIndex; {Expires: Thu, 01 Dec 1994 16:00:00 GMT}
    property From: String index 18 read FFrom write SetHeaderValueByPropertyIndex; {From: webmaster@w3.org}
    property Host: String index 19 read FHost write SetHeaderValueByPropertyIndex; {Host: www.w3.org}
    property IfMatch: string index 20 read FIfMatch write SetHeaderValueByPropertyIndex; {If-Match: entity_tag001}
    property IfModifiedSince: string index 21 read FIfModifiedSince write SetHeaderValueByPropertyIndex; {If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT}
    property IfNoneMatch: string index 22 read fIfNoneMatch write SetHeaderValueByPropertyIndex; {If-None-Match: entity_tag001}
    property IfRange: string index 23 read fIfRange write SetHeaderValueByPropertyIndex; {If-Range: entity_tag001}
    property IfUnmodifiedSince: string index 24 read fIfUnmodifiedSince write SetHeaderValueByPropertyIndex; {If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT}
    property LastModified: string index 25 read fLastModified write SetHeaderValueByPropertyIndex; {Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT}
    property MaxForwards: string index 26 read fMaxForwards write SetHeaderValueByPropertyIndex; {Max-Forwards: 3}
    property Pragma: string index 27 read FPragma write SetHeaderValueByPropertyIndex; {Pragma: no-cache}
    property ProxyAuthorization: string index 28 read FProxyAuthorization write SetHeaderValueByPropertyIndex; {Proxy-Authorization: [credentials]}
    property Range: string index 29 read FRange write SetHeaderValueByPropertyIndex; {Range: bytes=100-599}
    property Referer: String index 30 read FReferer write SetHeaderValueByPropertyIndex; {Referer: http://www.w3.org/hypertext/DataSources/Overview.html}
    property TE: string index 31 read fTE write SetHeaderValueByPropertyIndex; {TE: trailers, deflate;q=0.5}
    property Trailer: String index 32 read FTrailer write SetHeaderValueByPropertyIndex; {Trailer: Date}
    property TransferEncoding: String index 33 read FTransferEncoding write SetHeaderValueByPropertyIndex; {Transfer-Encoding: chunked}
    property Upgrade: String index 34 read FUpgrade write SetHeaderValueByPropertyIndex; {Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11}
    property UserAgent: String index 35 read FUserAgent write SetHeaderValueByPropertyIndex; {User-Agent: CERN-LineMode/2.15 libwww/2.17b3}
    property Via: String index 36 read FVia write SetHeaderValueByPropertyIndex; {Via: 1.0 ricky, 1.1 mertz, 1.0 lucy}
    property Warning: String index 37 read FWarning write SetHeaderValueByPropertyIndex; {Warning: 112 Disconnected Operation}
    property CustomHeaders: Tstrings read FCustomHeaders write SetCustomHeaders;
    Property Cookies: TALHTTPRequestCookieCollection read FCookies write SetCookies;
    property OnChange: TALHTTPPropertyChangeEvent read FOnChange write FOnChange;
  end;

  {--Response header--}
  TALHTTPResponseHeader = Class(TPersistent)
  Private
    FAcceptRanges: String;
    FAge: String;
    FAllow: String;
    FCacheControl: String;
    FConnection: string;
    FContentEncoding: string;
    FContentLanguage: string;
    FContentLength: string;
    FContentLocation: string;
    FContentMD5: string;
    FContentRange: string;
    FContentType: string;
    FDate: string;
    FETag: String;
    FExpires: string;
    FLastModified: string;
    FLocation: String;
    FPragma: string;
    FProxyAuthenticate: String;
    FRetryAfter: String;
    FServer: String;
    FTrailer: String;
    FTransferEncoding: String;
    FUpgrade: String;
    FVary: String;
    FVia: String;
    FWarning: String;
    FWWWAuthenticate: String;
    FRawHeaderText: string;
    FCustomHeaders: Tstrings;
    FCookies: Tstrings;
    FStatusCode: String;
    FHttpProtocolVersion: String;
    FReasonPhrase: String;
    procedure SetRawHeaderText(const aRawHeaderText: string);
    Function GetRawHeaderText: String;
  protected
    procedure AssignTo(Dest: TPersistent); override;
  public
    constructor Create; virtual;
    destructor Destroy; override;
    procedure Clear;
    property AcceptRanges: String read FAcceptRanges; {Accept-Ranges: bytes}
    property Age: String read FAge; {Age: 2147483648(2^31)}
    property Allow: String read FAllow; {Allow: GET, HEAD, PUT}
    property CacheControl: String read FCacheControl; {Cache-Control: no-cache}
    property Connection: string read FConnection; {Connection: close}
    property ContentEncoding: string read FContentEncoding; {Content-Encoding: gzip}
    property ContentLanguage: string read FContentLanguage; {Content-Language: mi, en}
    property ContentLength: string read FContentLength;  {Content-Length: 3495}
    property ContentLocation: string read FContentLocation;  {Content-Location: http://localhost/page.asp}
    property ContentMD5: string read FContentMD5;  {Content-MD5: [md5-digest]}
    property ContentRange: string read FContentRange;  {Content-Range: bytes 2543-4532/7898}
    property ContentType: string read FContentType; {Content-Type: text/html; charset=ISO-8859-4}
    property Date: string read FDate; {Date: Tue, 15 Nov 1994 08:12:31 GMT}
    property ETag: String read FETag; {ETag: W/"xyzzy"}
    property Expires: string read FExpires; {Expires: Thu, 01 Dec 1994 16:00:00 GMT}
    property LastModified: string read FLastModified; {Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT}
    property Location: String read FLocation; {Location: http://www.w3.org/pub/WWW/People.html}
    property Pragma: string read FPragma; {Pragma: no-cache}
    property ProxyAuthenticate: String read FProxyAuthenticate; {Proxy-Authenticate: [challenge]}
    property RetryAfter: String read FRetryAfter; {Retry-After: Fri, 31 Dec 1999 23:59:59 GMT}
    property Server: String read FServer; {Server: CERN/3.0 libwww/2.17}
    property Trailer: String read FTrailer; {Trailer: Date}
    property TransferEncoding: String read FTransferEncoding; {Transfer-Encoding: chunked}
    property Upgrade: String read FUpgrade; {Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11}
    property Vary: String read FVary; {Vary: Date}
    property Via: String read FVia; {Via: 1.0 ricky, 1.1 mertz, 1.0 lucy}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内外精品视频| 亚洲欧美偷拍另类a∨色屁股| 在线视频一区二区三| 91免费在线视频观看| 中文成人综合网| 亚洲日本欧美天堂| 欧美三级视频在线观看| 亚洲欧美日韩电影| 麻豆国产精品视频| 亚洲私人影院在线观看| 欧美三级蜜桃2在线观看| 日韩午夜精品视频| 99久久精品情趣| 99视频一区二区三区| 亚洲成在人线免费| 一本色道久久综合亚洲精品按摩| 一区二区三区 在线观看视频 | 欧美激情综合在线| 成人国产精品免费观看| 一区二区三区国产精华| 日韩欧美视频在线| 国产精品久久久久久一区二区三区| 欧美老女人第四色| 久久久高清一区二区三区| 亚洲国产精品影院| 亚洲国产成人午夜在线一区| 欧美一区二区视频观看视频| 99视频一区二区三区| 欧美中文一区二区三区| 精品久久国产老人久久综合| 成年人网站91| 久久综合色之久久综合| 欧美浪妇xxxx高跟鞋交| 亚洲一区二区三区四区五区中文| 精品日韩一区二区三区免费视频| 婷婷丁香久久五月婷婷| 亚洲午夜一二三区视频| 国产精品888| www.视频一区| 高清shemale亚洲人妖| 国产高清久久久久| 99精品1区2区| 国产精品美女久久久久久久久| 91精品婷婷国产综合久久竹菊| 亚洲男同性视频| 国产精品美女久久久久久| 日韩在线a电影| 99久久777色| 欧美性生交片4| 欧美性高清videossexo| 色诱视频网站一区| 国产91在线观看丝袜| 久久疯狂做爰流白浆xx| 国产欧美综合在线观看第十页 | 亚洲欧洲一区二区在线播放| 色视频一区二区| 成人欧美一区二区三区视频网页| 国产精品欧美一区喷水| 高清av一区二区| 一本到高清视频免费精品| 亚洲国产日韩av| 狠狠狠色丁香婷婷综合久久五月| 欧美岛国在线观看| 国产精品一区二区你懂的| 成人av网址在线| 精品国产伦理网| 国产精品香蕉一区二区三区| 国产精品久久久久aaaa樱花| 国产精品理论在线观看| 欧美丰满嫩嫩电影| 久久精品一区二区三区不卡牛牛| 成人午夜免费av| 精品少妇一区二区三区日产乱码| 成人免费观看男女羞羞视频| 久久综合一区二区| 岛国精品一区二区| 亚洲国产精品久久人人爱蜜臀 | 中文字幕一区二区三区在线不卡 | 成人免费一区二区三区在线观看| 欧美在线免费观看亚洲| 亚洲高清免费观看高清完整版在线观看| 91香蕉视频在线| 紧缚奴在线一区二区三区| 国产精品国产三级国产三级人妇| 欧美精品自拍偷拍| 久久爱另类一区二区小说| 7878成人国产在线观看| 欧美亚州韩日在线看免费版国语版| 91视频免费看| 久久精品免费看| 国产欧美日韩精品一区| 日韩精品中午字幕| 欧美一区二区三区思思人| 一区二区三区国产豹纹内裤在线| 香港成人在线视频| 欧美精品一二三| 欧美一区二区日韩一区二区| 精品国产精品一区二区夜夜嗨| 久久综合资源网| 亚洲免费观看在线视频| 欧日韩精品视频| 91高清视频在线| 色呦呦日韩精品| 日本视频一区二区| 亚洲国产精品一区二区www在线| 日本美女视频一区二区| 尤物视频一区二区| 日韩精品中文字幕一区 | 国产精品自拍网站| 性久久久久久久久| 精品久久久久久最新网址| 99视频一区二区| 99精品国产热久久91蜜凸| 欧美变态tickling挠脚心| 在线国产电影不卡| 69p69国产精品| 欧美日韩成人综合在线一区二区| 高清免费成人av| 粉嫩av一区二区三区在线播放 | 粗大黑人巨茎大战欧美成人| 99国产欧美另类久久久精品 | 色综合久久综合网97色综合| 日本欧美韩国一区三区| 亚洲一区二区三区三| 极品少妇xxxx精品少妇| 6080日韩午夜伦伦午夜伦| 国产福利91精品| 在线不卡免费欧美| 久久伊99综合婷婷久久伊| 国产日产精品1区| 最新国产精品久久精品| 精品久久久久久久久久久久久久久| 久久精品一区二区| 久久―日本道色综合久久| 国产午夜亚洲精品不卡| 久久九九影视网| 日韩精品电影在线观看| 国产酒店精品激情| 成人教育av在线| 久久亚洲一区二区三区四区| 成人91在线观看| 国产精品亲子乱子伦xxxx裸| 蜜芽一区二区三区| 99久久精品久久久久久清纯| 91精品婷婷国产综合久久竹菊| 成人免费一区二区三区视频| 日本欧美一区二区三区乱码| 国产精品99久久久| 欧美日韩成人综合天天影院| 午夜av电影一区| 国产精品99久久久| 亚洲三级在线看| 国产91精品一区二区麻豆网站| 2022国产精品视频| 懂色av中文字幕一区二区三区| 欧美少妇性性性| 亚洲精品乱码久久久久久久久 | 日韩欧美电影一二三| 国产日韩精品久久久| 精品久久一区二区| fc2成人免费人成在线观看播放| **性色生活片久久毛片| 99热在这里有精品免费| 久久久午夜精品| 亚洲大尺度视频在线观看| 欧美日韩一区二区三区在线| 亚洲6080在线| 国产欧美一区二区三区在线老狼 | 日日夜夜精品免费视频| 国产成人精品影院| 亚洲一区免费观看| 欧美性三三影院| 精品视频1区2区3区| 日韩理论在线观看| 欧美综合亚洲图片综合区| 国产精品婷婷午夜在线观看| 欧美性受极品xxxx喷水| 国产精品自拍网站| 国产一区二区三区不卡在线观看 | 精油按摩中文字幕久久| 日韩免费一区二区| 美国毛片一区二区三区| 欧美中文字幕亚洲一区二区va在线| 亚洲自拍欧美精品| 亚洲精品视频观看| 欧美亚洲国产一区在线观看网站 | 日韩免费电影网站| 在线视频欧美区| 91精品1区2区| 欧美日韩成人在线| 成人综合日日夜夜| 亚洲综合免费观看高清完整版在线 | 成人精品高清在线| 国产精品久久久久久久久晋中| 欧美日韩综合色| 欧美性生活大片视频| 成人午夜看片网址| 无吗不卡中文字幕| 亚洲一二三四久久| 国产精品色婷婷久久58|