
88 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
6
OS_HTTP_RESPONSE::headers_as_string
Returns a string representation of all HTTP response headers.
Context
This function called in http request context will have no effect.
Usage
Can be used to retrieve the HTTP headers and to parse in the script.
Input Parameters
None.
Return Values
The following table contains the return values.
Example
TABLE 104 Return Values
Name Type Description
string All HTTP response headers
represented as a string.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
my $all_headers = OS_HTTP_RESPONSE::headers_as_string;
}
Comentarios a estos manuales