'Renders an information page with the POST endpoint and cookie flag.
Args:
uri: a string containing the request URI
Returns:
A string with the contents of the info page to be displayed'

def InfoPage(self, uri):

    page = '\n<!DOCTYPE    html    PUBLIC    "-//W3C//DTD    XHTML    1.0    Strict//EN"\n    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html><head>\n<title>Bulk    Loader</title>\n</head><body>'
    page += ('The    bulk    load    endpoint    is:    <a    href="%s">%s</a><br    />\n' % (uri, uri))
    cookies = os.environ.get('HTTP_COOKIE', None)
    if cookies:
        cookie = Cookie.BaseCookie(cookies)
        for param in ['ACSID', 'dev_appserver_login']:
            value = cookie.get(param)
            if value:
                page += ("Pass    this    flag    to    the    client:    --cookie='%s=%s'\n" % (param, value.value))
                break
    else:
        page += 'No    cookie    found!\n'
    page += '</body></html>'
    return page
