
74 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
6
Return Values
The following table contains the return values.
Example
OS_HTTP_RESPONSE::content_length
Returns response content length specified in the HTTP response if it exists, otherwise it will return
NULL.
Context
Called in the HTTP request context will have no effect.
Usage
Can be used to get the content length.
Input Parameters
None.
Return Values
The following table contains the return values.
TABLE 77 Return Values
Name Type Description
string Value of the response content
type. If not present, undefined is
returned.
TABLE 78 Return Values
Name Type Description
Integer Value of the response content
length. If not present, undefined
is returned.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
my $content_type = OS_HTTP_RESPONSE::content_type;
}
Comentarios a estos manuales