Callback

From Svg wiki

A helper function used in getURL and postURL function calls.

The "callback" function should be defined like this:

function callback( urlRequestStatus )
 {
 ...
 }

urlRequestStatus contains three fields:

success true if request went through
contentType MIME Type of the reply (not all browsers support this)
content content of the reply as text. Text must be encoded as either ASCII, UTF8 or UTF16 and can be compressed with 'gzip' or 'deflate' compression. Either way you'll get decoded text