diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-02-16 17:23:40 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-02-16 17:23:40 +0000 |
commit | c7134f318ae2e95a5db751a77d8c580d58e52dfd (patch) | |
tree | 27af569a164c265b488f3bd79523bb8f5d2e75b0 | |
parent | 67359d0735efda6498047eb618b80cba4e2bc9b2 (diff) | |
download | netsurf-test-c7134f318ae2e95a5db751a77d8c580d58e52dfd.tar.gz netsurf-test-c7134f318ae2e95a5db751a77d8c580d58e52dfd.tar.bz2 |
Forbidden is not good. Unauthorized is better. Daniel is a numpty
-rwxr-xr-x | cgi-bin/auth.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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('') |