Smartsite SXML CopyCode image Copy Code
<se:embeduri location="http://www.google.com">
    <se:parameters>
        <se:parameter name="resultformat">
The page contains {this.size()} bytes.
The mime type is {this.mimetype()}.
The last modified is {this.lastmodified()}.
The expires is {this.expires()}.
The status code is {this.statuscode()}.
The response time is {this.responsetime()}ms.
The response cookies are:
{debug.write(this.responsecookies())}
The response headers are:
{debug.write(this.responseheaders())}
        </se:parameter>
    </se:parameters>
</se:embeduri>
Example Result CopyCode image Copy Code
The page contains 6852 bytes.
The mime type is text/html; charset=ISO-8859-1.
The last modified is 2009-05-20T10:43:25.
The expires is 0001-01-01T00:00:00.
The status code is 200.
The response time is 69ms.
The response cookies are:
Name=PREF; Value=ID=4ec883cf7ca59ea5:TM=1242808948:LM=1242808948:S=VaISdQnPoAb8tqds
The response headers are:
Name=Transfer-Encoding; Value=chunked
Name=Cache-Control; Value=private, max-age=0
Name=Content-Type; Value=text/html; charset=ISO-8859-1
Name=Date; Value=Wed, 20 May 2009 08:42:29 GMT
Name=Expires; Value=-1
Name=Server; Value=gws