Skip to content

Commit 1256e12

Browse files
authored
Update docs/ref/dotz.md
1 parent 42165f5 commit 1256e12

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

docs/ref/dotz.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,22 +105,11 @@ An HTTP callback to handle the request will not be called.
105105
```q
106106
(1;"username")
107107
```
108-
The provided username will be used to set [`.z.u`](#zu-user-id).
108+
The provided username is used to set [`.z.u`](#zu-user-id).
109109
The relevant HTTP callback to handle this request will be allowed.
110110
* User not authorized/authenticated (custom response)
111111
```q
112112
(2;"response text")
113-
```
114-
Customised reponse to be sent should be provided in the "response text" section.
115-
The "response text" should comprised of a valid HTTP response message e.g. can be used to provide a
116-
401 response with a customised message.
117-
A HTTP callback to handle the original request will not be called.
118-
* Fallback to basic authentication
119-
```q
120-
(4;"")
121-
```
122-
Fallback to [basic access authentication](https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side), where the username/password are base64 decoded and processed via the [`-u`](../basics/cmdline.md#-u-usr-pwd-local)/[`-U`](../basics/cmdline.md#-u-usr-pwd) file and [`.z.pw`](#zpw-validate-user) (if defined).
123-
If the user is not permitted, the client will be sent a default 401 HTTP unauthorized response. Since V4.0 2021.07.12.
124113
125114
!!! note "If .z.ac is not defined, it uses basic access authentication as per `(4;"")` above"
126115

0 commit comments

Comments
 (0)