Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

THTTPVariableType

HTTP variable type enumeration

Declaration

Source position: httpdefs.pp line 123

type THTTPVariableType = (

  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

);

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

THTTPVariableTypes

  

Set of HTTP variable types


Documentation generated on: Jan 16 2026