Topic Path: Symbol Reference > Constants > HTTPRequestStrings Constant
HTTPRequestStrings Constant

String representations of HTTP commands for an HTTP request.

HTTPRequestStrings: array[0..ord(high(THTTPCommandType))] of string = ('UNKNOWN', 'HEAD','GET','POST','DELETE','PUT','TRACE', 'OPTIONS');

HTTPRequestStrings is a constant array containing Strings values that represent HTTP commands defined in the THTTPCommandType enumeration. 

HTTPRequestStrings is used when decoding the HTTP values received in an HTTP request to set the value in the TIdHTTPRequestInfo.CommandType property.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.