Gitweb links:

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

The branch, master has been updated
       via  c7134f318ae2e95a5db751a77d8c580d58e52dfd (commit)
      from  67359d0735efda6498047eb618b80cba4e2bc9b2 (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=c7134f318ae2e95a5db751a77d8c580d58e52dfd
commit c7134f318ae2e95a5db751a77d8c580d58e52dfd
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    Forbidden is not good. Unauthorized is better.  Daniel is a numpty

diff --git a/cgi-bin/auth.cgi b/cgi-bin/auth.cgi
index 4a65f54..5eebf4e 100755
--- a/cgi-bin/auth.cgi
+++ b/cgi-bin/auth.cgi
@@ -18,7 +18,7 @@ gotuser = None
 gotpass = None
 
 def badauth(reason="NOAUTH"):
-    print('Status: 403')
+    print('Status: 401')
     print('WWW-Authenticate: Basic realm="{}"'.format(realm))
     print('Content-Type: text/plain')
     print('')


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

Summary of changes:
 cgi-bin/auth.cgi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgi-bin/auth.cgi b/cgi-bin/auth.cgi
index 4a65f54..5eebf4e 100755
--- a/cgi-bin/auth.cgi
+++ b/cgi-bin/auth.cgi
@@ -18,7 +18,7 @@ gotuser = None
 gotpass = None
 
 def badauth(reason="NOAUTH"):
-    print('Status: 403')
+    print('Status: 401')
     print('WWW-Authenticate: Basic realm="{}"'.format(realm))
     print('Content-Type: text/plain')
     print('')


-- 
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