Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf-test.git/shortlog/cc544429e0cacd2c039c643ed55f07967a96c53c
...commit 
http://git.netsurf-browser.org/netsurf-test.git/commit/cc544429e0cacd2c039c643ed55f07967a96c53c
...tree 
http://git.netsurf-browser.org/netsurf-test.git/tree/cc544429e0cacd2c039c643ed55f07967a96c53c

The branch, master has been updated
       via  cc544429e0cacd2c039c643ed55f07967a96c53c (commit)
      from  d2caeceeceb3fcb27aefa828ebe40a39b334ea96 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=cc544429e0cacd2c039c643ed55f07967a96c53c
commit cc544429e0cacd2c039c643ed55f07967a96c53c
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    cookies.cgi: Move where we output the header
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/cgi-bin/cookies.cgi b/cgi-bin/cookies.cgi
index c8fe80a..3a701aa 100755
--- a/cgi-bin/cookies.cgi
+++ b/cgi-bin/cookies.cgi
@@ -9,6 +9,9 @@ import json
 
 cgitb.enable()
 
+print("Content-Type: text/html")
+print("")
+
 cookies = {}
 
 if os.environ.has_key('HTTP_COOKIE'):
@@ -16,8 +19,6 @@ if os.environ.has_key('HTTP_COOKIE'):
       (key, value) = cookie.split('=')
       cookies[key] = value
 
-print("Content-Type: text/html")
-print("")
 print("""
 <html>
   <head><title>Cookie test</title></head>


-----------------------------------------------------------------------

Summary of changes:
 cgi-bin/cookies.cgi |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cgi-bin/cookies.cgi b/cgi-bin/cookies.cgi
index c8fe80a..3a701aa 100755
--- a/cgi-bin/cookies.cgi
+++ b/cgi-bin/cookies.cgi
@@ -9,6 +9,9 @@ import json
 
 cgitb.enable()
 
+print("Content-Type: text/html")
+print("")
+
 cookies = {}
 
 if os.environ.has_key('HTTP_COOKIE'):
@@ -16,8 +19,6 @@ if os.environ.has_key('HTTP_COOKIE'):
       (key, value) = cookie.split('=')
       cookies[key] = value
 
-print("Content-Type: text/html")
-print("")
 print("""
 <html>
   <head><title>Cookie test</title></head>


-- 
NetSurf test cases

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to