diff options
author | defanor <defanor@uberspace.net> | 2019-03-30 05:59:59 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2019-03-30 05:59:59 +0300 |
commit | 7897035179f7eebaf149d75e772ec3d99d56708d (patch) | |
tree | 2be03e6828b20ff21d2aa9a8c9315e73c3515eb2 /README.md | |
parent | c0a142f95bca54ec38aecc86ce38dfac2432ac50 (diff) |
Handle `auth=try`
Serve pages with status code 401 if `auth` is set to `try`, but
credentials are not present.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -72,6 +72,9 @@ authentication, and the provided credentials are used directly for PostgreSQL authentication. HTTP authentication also gets requested if 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. + ### Web server This is intended to be used with an HTTP server, which would take care |