Response.getField

Get the value of a field.

If the field field is not found in the response header, the empty string is returned. This function uses case-insensitive comparisons.

class Response
string
getField
(
string field
)

Parameters

field string

Name of the field to get.

Return Value

Type: string

Value of the field, or empty string if not found.

Meta