Show: Delphi C++
Display Preferences

Properties That Identify the Purpose of the Request

From RAD Studio
Jump to: navigation, search

Go Up to Properties That Contain Request Header Information


The Method property is a string describing what the request message is asking the server application to do. The HTTP 1.1 standard defines the following methods:

Predefined tag names:

Value What the message requests

OPTIONS

Information about available communication options.

GET

Information identified by the URL property.

HEAD

Header information from an equivalent GET message, without the content of the response.

POST

The server application to post the data included in the Content property, as appropriate.

PUT

The server application to replace the resource indicated by the URL property with the data included in the Content property.

DELETE

The server application to delete or hide the resource identified by the URL property.

TRACE

The server application to send a loop-back to confirm receipt of the request.



The Method property may indicate any other method that the Web client requests of the server.

The Web server application does not need to provide a response for every possible value of Method. The HTTP standard does require that it service both GET and HEAD requests, however.

The MethodType property indicates whether the value of Method is GET (mtGet), HEAD (mtHead), POST (mtPost), PUT (mtPut) or some other string (mtAny). The dispatcher matches the value of the MethodType property with the MethodType of each action item.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance