From 0002f87e0e5337c8035d23913a16d797c16a013c Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 16 Jan 2019 23:51:39 -0800 Subject: [PATCH] actually print headers, meta tag --- index.html | 3 ++- proxy.cgi | 1 + template.html | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3476276..0259db3 100644 --- a/index.html +++ b/index.html @@ -2,11 +2,12 @@ + TextProxy

TextProxy

-
+ diff --git a/proxy.cgi b/proxy.cgi index 4bc4086..f0055b0 100755 --- a/proxy.cgi +++ b/proxy.cgi @@ -30,6 +30,7 @@ def main(): data = fetch_site(url) + print_headers() print(format_output(url, data)) if __name__ == '__main__': diff --git a/template.html b/template.html index b3d8a80..a36957a 100644 --- a/template.html +++ b/template.html @@ -1,9 +1,11 @@ - {} - TextProxy + + {0} - TextProxy -
{}
+

{0}

+
{1}