Internet Direct (Indy)
Home
PreviousUpNext
HTTPRequestStrings Constant

String representations of HTTP commands for an HTTP request.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.