Syntax 4: for ResourceResponse objects – PB Docs 2021

Syntax 4: for ResourceResponse objects

Description

Gets the response header by name.

Applies to

ResourceResponse object

Syntax

Argument

Description

objectname

A reference to the ResourceResponse object in which you
want to get the response header.

headerName

A string specifying the header name.

Return value

String.

Returns the value related to the header name. If any argument’s
value is null, the method returns null.

Examples

The following example shows the use of the GetHeader function to
get the value of the content-type header:

See also

GetBody

GetHeaders

GetStatusCode

GetStatusText


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x