Sign in Join
FPDoc Onlineexperiment

THTTPVariableType enumeration

In unit HTTPDefs

HTTP variable type enumeration

Declaration

pascal
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

hvUnknownUnknown or unspecified variable type
hvHTTPVersionHTTP protocol version
hvMethodHTTP request method
hvCookieCookie header from request
hvSetCookieSet-Cookie header field variable
hvXRequestedWithX-Requested-With header field variable
hvPathInfoPATH_INFO environment variable
hvPathTranslatedPATH_TRANSLATED environment variable
hvRemoteAddressREMOTE_ADDR environment variable
hvRemoteHostREMOTE_HOST environment variable
hvScriptNameSCRIPT_NAME environment variable
hvServerPortSERVER_PORT environment variable
hvURLComplete request URL variable
hvQueryQUERY_STRING environment variable
hvContentRequest body content

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.