Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
...
title | Note |
---|
...
...
...
If the "re" and "ext" parameters are absent, the filter will match everything.
...
Name | Applies to | Value |
url_path | All | The path for which the handler method will be used |
user_data | GetFromEvent() | A user-defined value that can be retrieved by calling roHttpEvent.GetUserData() |
method | AddMethodFromEvent() | The HTTP method associated with the generated roHttpEvent. The method type can then be retrieved using roHttpEvent.GetMethod(). |
passwords | All | An associative array that contains a mapping between usernames and passwords |
auth | All | The authentication type to use when passwords are set. This value can be either "basic" or "digest". The value defaults to “digest” if not specified. |
realm | All | The authentication realm, which will be displayed by web browsers when prompting for a username and password |
headers | GetFromFile() | An associative array that contains arbitrary headers to be included with the automated response |
content_type | GetFromFile() | The contents of the "Content-Type" header that is included with the automated response. This may not be set at the same time as the headers member. You can set both the MIME type and character set together (e.g. "text/plain; charset=utf-8") |
body | GetFromString() | The response body |
filename | GetFromFile() | The path to the file used for the response body. |
destination_directory | PostToFile() | The path to the directory used for the temporary file containing the request body. A random filename will be generated automatically. |