⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 idhttp.pas

📁 photo.163.com 相册下载器 多线程下载
💻 PAS
字号:
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence                                   }
{ Team Coherence is Copyright 2002 by Quality Software Components      }
{                                                                      }
{ For further information / comments, visit our WEB site at            }
{ http://www.TeamCoherence.com                                         }
{**********************************************************************}
{}
{ $Log:  11615: IdHTTP.pas
{
{   Rev 1.54    10/26/2004 10:13:24 PM  JPMugaas
{ Updated refs.
}
{
{   Rev 1.53    7/16/04 1:19:20 AM  RLebeau
{ Fix for compiler error
}
{
{   Rev 1.52    7/15/04 8:19:30 PM  RLebeau
{ Updated TIdHTTPProtocol.ProcessResponse() to treat 302 redirects like 303.
{ 
{ Updated TIdHTTPProtocol.BuildAndSendRequest() to use a try...except block
}
{
    Rev 1.51    6/17/2004 8:30:04 AM  DSiders
  TIdCustomHTTP modified:
  - Fixed error in AuthRetries property reading wrong member var.
  - Added AuthProxyRetries and MaxAuthRetries properties to public interface.
  
  TIdHTTP modified to publish AuthRetries, AuthProxyRetries, and MaxAuthRetries.
  
  TIdHTTPProtocol.ProcessResponse modified to use public properties
  AuthRetries, AuthProxyRetries, and MaxAutrhRetries.
}
{
{   Rev 1.50    2004.05.20 11:36:46 AM  czhower
{ IdStreamVCL
}
{
{   Rev 1.49    4/28/04 1:45:26 PM  RLebeau
{ Updated TIdCustomHTTP.SetRequestParams() to strip off the trailing CRLF
{ before encoding rather than afterwards
}
{
{   Rev 1.48    2004.04.07 11:18:08 PM  czhower
{ Bug and naming fix.
}
{
{   Rev 1.47    7/4/2004 6:00:02 PM  SGrobety
{ Reformatted to match project guidelines
}
{
{   Rev 1.46    7/4/2004 4:58:24 PM  SGrobety
{ Reformatted to match project guidelines
}
{
{   Rev 1.45    6/4/2004 5:16:40 PM  SGrobety
{ Added AMaxHeaderCount: integer parameter to TIdHTTPProtocol.RetrieveHeaders
{ and MaxHeaderLines property to TIdCustomHTTP (default to 255)
}
{
{   Rev 1.44    2004.03.06 10:39:52 PM  czhower
{ Removed duplicate code
}
{
{   Rev 1.43    2004.03.06 8:56:30 PM  czhower
{ -Change to disconnect
{ -Addition of DisconnectNotifyPeer
{ -WriteHeader now write bufers
}
{
{   Rev 1.42    3/3/2004 5:58:00 AM  JPMugaas
{ Some IFDEF excluses were removed because the functionality is now in DotNET.
}
{
{   Rev 1.41    2004.02.23 9:33:12 PM  czhower
{ Now can optionally ignore response codes for exceptions.
}
{
{   Rev 1.40    2/15/2004 6:34:02 AM  JPMugaas
{ Fix for where I broke the HTTP client with a parameter change in the GZip
{ decompress method.
}
{
{   Rev 1.39    2004.02.03 5:43:44 PM  czhower
{ Name changes
}
{
{   Rev 1.38    2004.02.03 2:12:10 PM  czhower
{ $I path change
}
{
{   Rev 1.37    2004.01.27 11:41:18 PM  czhower
{ Removed const arguments
}
{
{   Rev 1.35    24/01/2004 19:22:34  CCostelloe
{ Cleaned up warnings
}
{
{   Rev 1.34    2004.01.22 5:29:02 PM  czhower
{ TextIsSame
}
{
{   Rev 1.33    2004.01.21 1:04:50 PM  czhower
{ InitComponenet
}
{
{   Rev 1.32    1/2/2004 11:41:48 AM  BGooijen
{ Enabled IPv6 support
}
{
{   Rev 1.31    22/11/2003 12:04:28 AM  GGrieve
{ Add support for HTTP status code 303
}
{
{   Rev 1.30    10/25/2003 06:51:58 AM  JPMugaas
{ Updated for new API changes and tried to restore some functionality.
}
{
{   Rev 1.29    2003.10.24 10:43:08 AM  czhower
{ TIdSTream to dos
}
{
{   Rev 1.28    24/10/2003 10:58:40 AM  SGrobety
{ Made authentication work even if no OnAnthenticate envent handler present
}
{
{   Rev 1.27    10/18/2003 1:53:10 PM  BGooijen
{ Added include
}
{
    Rev 1.26    10/17/2003 12:08:48 AM  DSiders
  Added localization comments.
}
{
{   Rev 1.25    2003.10.14 1:27:52 PM  czhower
{ DotNet
}
{
{   Rev 1.24    10/7/2003 11:33:54 PM  GGrieve
{ Get works under DotNet
}
{
{   Rev 1.23    10/7/2003 10:07:04 PM  GGrieve
{ Get HTTP compiling for DotNet
}
{
{   Rev 1.22    10/4/2003 9:15:58 PM  GGrieve
{ fix to compile
}
{
{   Rev 1.21    9/26/2003 01:41:48 PM  JPMugaas
{ Fix for problem wihere "identity" was being added more than once to the
{ accepted encoding contents.
}
{
{   Rev 1.20    9/14/2003 07:54:20 PM  JPMugaas
{ Published the Compressor property.
}
{
{   Rev 1.19    7/30/2003 05:34:22 AM  JPMugaas
{ Fix for bug where decompression was not done if the Content Length was
{ specified.  I found that at http://www.news.com.
{ Added Identity to the content encoding to be consistant with Opera.  Identity
{ is the default Accept-Encoding (RFC 2616).
}
{
    Rev 1.18    7/13/2003 10:57:28 PM  BGooijen
  Fixed GZip and Deflate decoding
}
{
{   Rev 1.17    7/13/2003 11:29:06 AM  JPMugaas
{ Made sure some GZIP decompression stub code is in IdHTTP.
}
{
{   Rev 1.15    10.7.2003 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -