fun url (x : string ,y) = y ^^ `Url ^(x) ` val _ = Page.return "Server Information" (`
Hostname ^(Web.Info.hostname())
Pid ^(Int.toString (Web.Info.pid()))
Uptime (seconds) ^(Int.toString (Web.Info.uptime()))
Pageroot ^(Web.Info.pageRoot())
User ^(Option.getOpt(Web.Info.getUser(),""))
AuthType ^(Option.getOpt(Web.Info.getAuthType(),""))

Connection Information

` ^^ (foldl url `` (Web.Conn.url())) ^^ `
Scheme ^(Web.Conn.scheme())
Host ^(Web.Conn.host())
Location ^(Web.Conn.location())
Peer ^(Web.Conn.peer())
Server Port ^(Int.toString (Web.Conn.port()))
Server Name ^(Web.Conn.server())
Method ^(Web.Conn.method())
Content Length ^(Int.toString(Web.Conn.contentLength()))

Headers Information

^(concat(Web.Set.foldr(fn ((k,v),acc) => "" :: acc) nil (Web.Conn.headers())))
KeyValue
" :: k :: "" :: v :: "

Form Data

^(case Web.Conn.getQuery() of SOME s => concat(Web.Set.foldr(fn ((k,v),acc) => "" :: acc) nil s) | NONE => "")
KeyValue
" :: k :: "" :: v :: "
No form data

Some Configuration Information

MailRelay ^(case Web.Info.configGetValue(Web.Info.Type.String, "MailRelay") of NONE => " " | SOME(s) => s)
Number of heap caches ^(Int.toString (Option.valOf (Web.Info.configGetValue (Web.Info.Type.Int,"MaxHeapPoolSz"))))

Request Data

^(Web.Conn.getRequestData())
` )