Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with SIL Engineā„¢ 4.1.0.

Syntax

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

httpGetHeader(headerName)

Package

http

Alias

Pkg Usage

getHeader(headerName)

Description

Excerpt
hiddentrue
Retrieves the value of the specified header (if existing) from the latest HTTP response.

Retrieves the value of the specified header (if existing) from the latest HTTP response.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

headerName

...

String

Yes

The name of the reponse header.

Return

...

Type

stringString

The value of the response header.

Example

Code Block
string hdrValue = httpGetHeader("Content-Type");

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "http_support"routine" and space = currentSpace ( )
labelsjiraarray_project_routineroutines