ssCore.HTTP.getHeaders

Retrieve the raw HTTP headers returned from the server.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

None.


Output Parameters:

result - A collection of HTTP headers separated by newlines.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.HTTP.getHeaders( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

This method can only be called asynchronously.


Notes:

You can call HTTP.getHeaders after a successful call to HTTP.start. The variable indicated by result will be set to contain a collection of HTTP headers separated by newlines.

                

Examples:

var return_obj = ssCore.HTTP.getHeaders();

ssDebug.trace(return_obj.result);