亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美性xxxxx极品少妇| 秋霞电影网一区二区| 26uuu亚洲| 69成人精品免费视频| 91麻豆精品91久久久久久清纯| 色综合婷婷久久| 毛片av中文字幕一区二区| 1区2区3区国产精品| 国产精品久久久久久久久快鸭| 国产精品私人影院| 最好看的中文字幕久久| 亚洲丝袜制服诱惑| 一区二区三区加勒比av| 性做久久久久久| 精品在线你懂的| 国产精品一二二区| 成人午夜视频免费看| 99视频精品免费视频| 欧美一a一片一级一片| 在线综合+亚洲+欧美中文字幕| 日韩欧美国产不卡| 337p日本欧洲亚洲大胆色噜噜| 国产亚洲一区二区三区在线观看| 国产精品久99| 日本aⅴ免费视频一区二区三区| 久久国产三级精品| 成人久久18免费网站麻豆| 一本色道**综合亚洲精品蜜桃冫| 欧美精品久久99| 久久九九99视频| 一区二区三区四区不卡视频| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产综合色在线| 在线看日本不卡| 欧美第一区第二区| 亚洲欧洲另类国产综合| 日韩在线a电影| 成人app网站| 欧美一区二区三区视频免费| 中文字幕中文在线不卡住| 五月天欧美精品| 99久久婷婷国产综合精品| 欧美一区二区二区| 亚洲精品一二三| 国产一区二区毛片| 欧美剧在线免费观看网站| 国产精品天天看| 久久精品免费看| 欧美亚洲高清一区| 国产精品福利电影一区二区三区四区| 日本特黄久久久高潮| 91免费观看在线| 久久精品欧美日韩精品| 日本美女一区二区| 欧美午夜电影网| 亚洲男人的天堂在线aⅴ视频| 国产乱国产乱300精品| 91精品国产高清一区二区三区蜜臀| 亚洲欧美色一区| 成人av在线电影| 久久久不卡网国产精品一区| 美女一区二区三区| 51精品秘密在线观看| 一区二区视频在线| 91香蕉视频黄| 国产精品国产三级国产普通话三级 | 欧美日韩免费一区二区三区| 国产精品日韩成人| 大白屁股一区二区视频| 精品国产乱码久久久久久久 | 日韩三级视频中文字幕| 亚洲妇女屁股眼交7| 欧美日韩一区二区三区不卡| 亚洲女与黑人做爰| 色综合久久中文字幕| 亚洲男帅同性gay1069| 一本色道a无线码一区v| 亚洲蜜臀av乱码久久精品蜜桃| 成人美女在线视频| 亚洲日本韩国一区| 欧美手机在线视频| 日本午夜一区二区| 欧美精品一区二区久久久| 国产在线播精品第三| 久久久久久一级片| 成人免费福利片| 综合久久综合久久| 777欧美精品| 国产亚洲一区二区三区四区| 另类小说欧美激情| 精品国精品国产尤物美女| 久久国产剧场电影| 国产欧美精品区一区二区三区| 成人动漫精品一区二区| 三级影片在线观看欧美日韩一区二区| 在线不卡免费av| 国产一区二区三区在线观看免费视频| 久久在线观看免费| 99国产精品久| 亚洲va欧美va天堂v国产综合| 91精品婷婷国产综合久久| 国产在线视频一区二区三区| 国产精品国产自产拍高清av王其 | 午夜精品福利一区二区三区av| 欧美午夜电影网| 国产精品亚洲午夜一区二区三区| 国产精品免费视频观看| 欧美三电影在线| 激情亚洲综合在线| 亚洲影院久久精品| 欧美mv日韩mv国产网站app| 丁香桃色午夜亚洲一区二区三区| 亚洲三级免费电影| 欧美成人三级电影在线| 99视频在线精品| 免费成人美女在线观看.| 国产精品久久国产精麻豆99网站| 欧美精品1区2区3区| 成人97人人超碰人人99| 毛片基地黄久久久久久天堂| 中文字幕一区二区不卡| 日韩欧美色电影| 在线观看免费一区| 国产伦理精品不卡| 午夜精品福利一区二区蜜股av| 亚洲国产精品激情在线观看| 69堂国产成人免费视频| 91美女在线观看| 国产乱码字幕精品高清av| 天堂va蜜桃一区二区三区漫画版| 国产精品久久午夜夜伦鲁鲁| 欧美哺乳videos| 欧美男同性恋视频网站| 色哟哟国产精品| 91在线一区二区三区| 国产在线观看一区二区| 亚洲图片一区二区| 亚洲精品久久7777| 亚洲欧美影音先锋| 欧美激情在线免费观看| 欧美精品一区二区三区四区| 8x福利精品第一导航| 欧美日韩精品电影| 欧美午夜一区二区三区免费大片| 成人免费黄色在线| 成人国产精品免费观看动漫| 国产91富婆露脸刺激对白| 国产在线精品国自产拍免费| 国产一区二区在线视频| 精品夜夜嗨av一区二区三区| 蜜臀av一区二区在线观看| 麻豆精品视频在线观看视频| 精品在线观看视频| 国产麻豆日韩欧美久久| 狠狠色综合日日| 国产精品一区二区三区99| 国产一区三区三区| 国产激情91久久精品导航| 国产成人免费9x9x人网站视频| 国产精品一区在线| 懂色av一区二区三区免费看| 成人国产精品免费观看视频| 91女神在线视频| 欧美日韩www| 日韩欧美激情四射| 久久精品亚洲一区二区三区浴池 | 亚洲国产乱码最新视频 | 91在线观看一区二区| 91福利视频久久久久| 91福利在线看| 日韩一区二区三区四区五区六区| 欧美一区二区三区影视| 久久精品人人做人人爽人人| 亚洲欧美偷拍三级| 午夜欧美大尺度福利影院在线看| 99久久精品免费看国产免费软件| www日韩大片| 欧美一区二区三区日韩视频| 久久久精品日韩欧美| 中文字幕一区二区在线观看| 五月天激情综合网| 国产成人精品影视| 欧美亚洲精品一区| 精品日韩在线一区| 一区二区高清在线| 精品一区二区在线观看| 91网站在线播放| 日韩女优毛片在线| 亚洲欧美日韩系列| 激情都市一区二区| 在线观看国产一区二区| 欧美mv日韩mv国产网站| 亚洲精品精品亚洲| 国产一区二区三区| 欧美日本国产视频| 亚洲欧洲日产国产综合网| 久久精品久久精品| 欧美三级三级三级爽爽爽| 久久久久久免费毛片精品| 午夜精品免费在线|