'Echos parameters (debugging).'

@web.expose
def echo(self, trans, **kwd):

    rval = ''
    for k in trans.request.headers:
        rval += ('%s:    %s    <br/>' % (k, trans.request.headers[k]))
    for k in kwd:
        rval += ('%s:    %s    <br/>' % (k, kwd[k]))
        if isinstance(kwd[k], cgi.FieldStorage):
            rval += ('->    %s' % kwd[k].file.read())
    return rval
