THTTPVariableType enumeration
HTTP variable type enumeration
Declaration
THTTPVariableType = (hvUnknown,hvHTTPVersion,hvMethod,hvCookie,
hvSetCookie,hvXRequestedWith,hvPathInfo,
hvPathTranslated,hvRemoteAddress,hvRemoteHost,
hvScriptName,hvServerPort,hvURL,hvQuery,hvContent)Description
THTTPVariableType defines the different types of HTTP-related variables that can be handled by the web server.
These include request information, headers, and CGI environment variables.
- hvUnknown
- Unknown or unspecified variable type
- hvHTTPVersion
- HTTP protocol version
- hvMethod
- HTTP request method (GET, POST, etc.)
- hvCookie
- Cookie header from request
- hvSetCookie
- Set-Cookie header for response
- hvXRequestedWith
- X-Requested-With header (AJAX indicator)
- hvPathInfo
- Additional path information
- hvPathTranslated
- Translated path information
- hvRemoteAddress
- Client IP address
- hvRemoteHost
- Client hostname
- hvScriptName
- Script name being executed
- hvServerPort
- Server port number
- hvURL
- Request URL
- hvQuery
- Query string parameters
- hvContent
- Request body content
See also
Values
hvUnknown | Unknown or unspecified variable type |
hvHTTPVersion | HTTP protocol version |
hvMethod | HTTP request method |
hvCookie | Cookie header from request |
hvSetCookie | Set-Cookie header field variable |
hvXRequestedWith | X-Requested-With header field variable |
hvPathInfo | PATH_INFO environment variable |
hvPathTranslated | PATH_TRANSLATED environment variable |
hvRemoteAddress | REMOTE_ADDR environment variable |
hvRemoteHost | REMOTE_HOST environment variable |
hvScriptName | SCRIPT_NAME environment variable |
hvServerPort | SERVER_PORT environment variable |
hvURL | Complete request URL variable |
hvQuery | QUERY_STRING environment variable |
hvContent | Request body content |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
