http_res_to_string()
 
    NAME
http_res_to_string()

LIBRARY
Caudiumlib.

SYNOPSIS
inherit "caudiumlib";
string http_res_to_string(mapping file, object id);

DESCRIPTION
Converts the file result sent in the file argument to a HTTP response header (what you would get for a HEAD request on the ressource.

mapping file
The file mapping (this what http_string_answer() etc... generate.

object id
The Caudium request object.

RETURNS
The HTTP header string.
 
HTML OK CSS