    headers.ctf

    #!/bin/sh /ss/bin/ss.exe
    <html>
        <head>
            <title>Display Request Headers</title>
        </head>
        <body>
    <pre>
    <lit>
    <%
        basedir = path() + separator()
        include basedir + "headers.inc"
    %>
    </lit>
    </pre>
        </body>
    </html>

    ==================================================
    headers.inc

    <%
        headers = Request().ServerVariables()
        keys = headers.keys()
        do while keys.hasMoreElements()
            key = keys.nextElement().toString()
            println(key + " = [" + headers.get(key) + "]")
        loop
    %>