Error processing SSI file
Error processing SSI file

Home » Development Area » DigiGuide Listings Grabber » API Index » Class: MultiHTTPRequest » onGotFile Event

Class MultiHTTPRequest : onGotFile Event


Boolean onGotFile( String id, Integer status, String statusText, String responseBody, String responseHeaders )


Parameters

ParameterDescription
String id ID used when adding the item to the MultiHTTPRequest object
Integer status HTTP response code. e.g. 200, 404
String statusText HTTP response text e.g. OK, Not Found
String responseBody The downloaded data
String responseHeaders HTTP headers separated by \r\n


Returns


Examples

m.onGotFile = function( id, status, statusText, responseBody, responseHeaders )
{
var headers = new HTTPHeaders( responseHeaders );
alert( id + " Length: " + headers.get( "Content-Length" ) + " Status: " + status + " " + statusText );

return true;
}


See Also

  • MultiHTTPRequest : grab


    Requirements

    Build Build 2

    (Last updated: October 12, 2007 15:23:26)

    Error processing SSI file