simple ex 3
Printing the arg structure :
{arg,#Port<0.258006>,
{{38,103,63,18},39117},
{headers,"close",
"Accept: application/xhtml+xml,text/html;q=0.9,text/plain;",
"yaws.hyber.org",
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
"CCBot/1.0 (+http://www.commoncrawl.org/bot.html)",
undefined,
[],
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
[{http_header,4,'Pragma',undefined,"no-cache"},
{http_header,1,'Cache-Control',undefined,"no-cache"},
{http_header,9,
'Accept-Charset',
undefined,
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
{http_header,10,'Accept-Encoding',undefined,"gzip"},
{http_header,11,
'Accept-Language',
undefined,
"en-us,en;q=0.5"}]},
{http_request,'GET',{abs_path,"/simple_ex4.yaws"},{1,1}},
undefined,
"/simple_ex4.yaws",
undefined,
undefined,
"/var/yaws/www",
"/",
"/var/yaws/www/simple_ex4.yaws",
undefined,
undefined,
<0.7903.2>,
[],
undefined,
"/",
undefined}