summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/navigation-timing/resources/navigation_type_post_back.py
blob: 9da06f4f035925f023b0a31f9bc17ad94ed51c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Accoridng to routes.py in the wpt server implementation, POST method is
# handled by a Python script handler which requires this file to return an html.
def main(request, response):
    content = """
    <!DOCTYPE html>
      <html>
        <body>
            <a href="blank_page_green.html">navigate away</a>.
        </body>
      </html>
    """
    return content