Browse Source

* Fixed some typing error in a type

git-svn-id: trunk@7043 -
michael 18 years ago
parent
commit
27eedd4ff1
1 changed files with 11 additions and 5 deletions
  1. 11 5
      packages/fcl-web/src/httpdefs.pp

+ 11 - 5
packages/fcl-web/src/httpdefs.pp

@@ -75,10 +75,10 @@ const
 
 
 
 
 Type
 Type
-  TTHttpFields = Array[1..NoHTTPFields] of string; 
+  THttpFields = Array[1..NoHTTPFields] of string;
 
 
 Const
 Const
-  HTTPFieldNames : TTHttpFields
+  HTTPFieldNames : THttpFields
              = (fieldAccept, fieldAcceptCharset, fieldAcceptEncoding, 
              = (fieldAccept, fieldAcceptCharset, fieldAcceptEncoding, 
                 fieldAcceptLanguage, fieldAuthorization, fieldConnection,
                 fieldAcceptLanguage, fieldAuthorization, fieldConnection,
                 fieldContentEncoding, fieldContentLanguage, fieldContentLength,
                 fieldContentEncoding, fieldContentLanguage, fieldContentLength,
@@ -172,7 +172,7 @@ type
     FContentFields: TStrings;
     FContentFields: TStrings;
     FCookieFields: TStrings;
     FCookieFields: TStrings;
     FHTTPVersion : String;
     FHTTPVersion : String;
-    FFields : TTHttpFields;
+    FFields : THttpFields;
     FQueryFields: TStrings;
     FQueryFields: TStrings;
     function GetSetField(AIndex: Integer): String;
     function GetSetField(AIndex: Integer): String;
     function GetSetFieldName(AIndex: Integer): String;
     function GetSetFieldName(AIndex: Integer): String;
@@ -212,7 +212,7 @@ type
     property Connection: String Index 6 Read GetFieldValue Write SetFieldValue;
     property Connection: String Index 6 Read GetFieldValue Write SetFieldValue;
     property ContentEncoding: String Index 7 Read GetFieldValue Write SetFieldValue;
     property ContentEncoding: String Index 7 Read GetFieldValue Write SetFieldValue;
     property ContentLanguage: String Index 8 Read GetFieldValue Write SetFieldValue;
     property ContentLanguage: String Index 8 Read GetFieldValue Write SetFieldValue;
-    property ContentLength: Integer Read GetContentLength Write SetContentLength;
+    property ContentLength: Integer Read GetContentLength Write SetContentLength; // Index 9
     property ContentType: String Index 10 Read GetFieldValue Write SetFieldValue;
     property ContentType: String Index 10 Read GetFieldValue Write SetFieldValue;
     property Cookie: String Index 11 Read GetFieldValue Write SetFieldValue;
     property Cookie: String Index 11 Read GetFieldValue Write SetFieldValue;
     property Date: String Index 12 Read GetFieldValue Write SetFieldValue;
     property Date: String Index 12 Read GetFieldValue Write SetFieldValue;
@@ -241,6 +241,11 @@ type
     Property HTTPIfModifiedSince : String Index 15 read GetFieldValue Write SetFieldValue; // Maybe change to TDateTime ??
     Property HTTPIfModifiedSince : String Index 15 read GetFieldValue Write SetFieldValue; // Maybe change to TDateTime ??
     Property HTTPReferer : String Index 19 read GetFieldValue Write SetFieldValue;
     Property HTTPReferer : String Index 19 read GetFieldValue Write SetFieldValue;
     Property HTTPUserAgent : String Index 23 read GetFieldValue Write SetFieldValue;
     Property HTTPUserAgent : String Index 23 read GetFieldValue Write SetFieldValue;
+    Property Method : String Index 31 read GetFieldValue Write SetFieldValue;
+    Property URL : String Index 32 read GetFieldValue Write SetFieldValue;
+    Property Query : String Index 33 read GetFieldValue Write SetFieldValue;
+    Property Host : String Index 34 Read GetFieldValue Write SetFieldValue;
+    Property Content : String Index 35 Read GetFieldValue Write SetFieldValue;
     // Lists
     // Lists
     Property CookieFields : TStrings Read FCookieFields Write SetCookieFields;
     Property CookieFields : TStrings Read FCookieFields Write SetCookieFields;
     Property ContentFields: TStrings read FContentFields;
     Property ContentFields: TStrings read FContentFields;
@@ -259,12 +264,13 @@ type
     FFiles : TUploadedFiles;
     FFiles : TUploadedFiles;
     FReturnedPathInfo : String;
     FReturnedPathInfo : String;
     procedure ParseFirstHeaderLine(const line: String);override;
     procedure ParseFirstHeaderLine(const line: String);override;
-    function  GetFirstHeaderLine: String;
+    function GetFirstHeaderLine: String;
   Protected
   Protected
     Procedure ProcessMultiPart(Stream : TStream; Const Boundary : String); virtual;
     Procedure ProcessMultiPart(Stream : TStream; Const Boundary : String); virtual;
     Procedure ProcessQueryString(Const FQueryString : String); virtual;
     Procedure ProcessQueryString(Const FQueryString : String); virtual;
     procedure ProcessURLEncoded(Stream : TStream); virtual;
     procedure ProcessURLEncoded(Stream : TStream); virtual;
     Function  GetTempUploadFileName : String; virtual;
     Function  GetTempUploadFileName : String; virtual;
+    Property ReturnedPathInfo : String Read FReturnedPathInfo Write FReturnedPathInfo;
   public
   public
     constructor Create; override;
     constructor Create; override;
     destructor destroy; override;
     destructor destroy; override;