You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ref/dotz.md
+1-12Lines changed: 1 addition & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,22 +105,11 @@ An HTTP callback to handle the request will not be called.
105
105
```q
106
106
(1;"username")
107
107
```
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).
109
109
The relevant HTTP callback to handle this request will be allowed.
110
110
* User not authorized/authenticated (custom response)
111
111
```q
112
112
(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.
124
113
125
114
!!! note "If .z.ac is not defined, it uses basic access authentication as per `(4;"")` above"
0 commit comments