Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPMethod Type

Represents the HTTP Method for a request.

Pascal
TIdHTTPMethod = string;

TIdHTTPMethod is an enumerated type used to represent the HTTP method for a request. 

TIdHTTPMethod can contain one of the following values and associated meanings: 

 

Value 
Meaning 
hmHead 
Request for Headers for the resource. 
hmGet 
Request to Get the content for the resource. 
hmPost 
Request to Post headers and data to a resource. 
hmOptions 
Request for communication Options supported by the server or resource. 
hmTrace 
Request for remote application-layer testing and diagnostic messages. 
hmPut 
Request to creater or replace a resource. 
hmDelete 
Request to Delete a server resource. 
hmConnect 
Request for connection to a proxy server. 

 

TIdHTTPMethod is used by TIdHTTP in the DoRequest method, and is the type used to represent the TIdHTTPRequest.Method property. 

hmHead, hmGet, and hmPost are supported for HTTP 1.0. Other HTTP methods require HTTP 1.1.

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.