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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|