path: root/
diff options
authordefanor <>2019-03-31 05:45:39 +0300
committerdefanor <>2019-03-31 05:45:39 +0300
commite39c287569a20fc070b6ccdf52d339a7da1e11cf (patch)
tree7f764e3b9228da2406ffa7b77eed931b6b74d3ef /
parent7897035179f7eebaf149d75e772ec3d99d56708d (diff)
Handle `auth=fail`HEADmaster
Ignore credentials provided by a user, serve documents with status code 401.
Diffstat (limited to '')
1 files changed, 5 insertions, 0 deletions
diff --git a/ b/
index f5343e9..5b712c2 100644
--- a/
+++ b/
@@ -75,6 +75,11 @@ a database connection failure was password-related.
With `auth=try` pgxhtml would serve pages composed using defaults if
no credentials are provided, but with 401 status code.
+`auth=fail` would ignore user-provided credentials and serve pages
+with 401 status code. It can be used to circumvent poor authentication
+handling by some web browsers.
### Web server
This is intended to be used with an HTTP server, which would take care