getHeader

Top  Previous  Next

Returns the header with the name that was passed as the function argument.

Definition

headerValue = getHeader( headerName )

 

Name

Type

Description

headerValue

string

Value of the header or nil if it didn't exist.

headerName

string

Header name for example "Location".

 

Alternative name

headerValue = webserver:GetHeader( headerName )

 

Provided for Girder 5 compatibility.

Availability

Lua context during page load.