renerocksai
fcce4517de
introduced error union to request fn return type
2025-03-16 20:16:14 +01:00
renerocksai
3856fceb9f
fix auth tests b/c of new zap.Endpoint
2025-03-16 15:52:26 +01:00
Rene Schallner
90c544d69a
fix test-authentication (std.http use)
2024-04-21 16:20:07 +02:00
Rene Schallner
07c74e757d
Refactored request, auth, endpoint:
...
- zap.Request : refactored into its own file, along with supporting
types and functions (e.g. http params related)
- added setContentTypeFromFilename thx @hauleth.
- zap.Auth : zap.Auth.Basic, zap.Auth.BearerSingle, ...
- zap.Endpoint : zap.Endpoint, zap.Endpoint.Authenticating
2024-01-10 15:05:53 +01:00
Rene Schallner
724ce87bd2
don't pollute global namespace with fio
2024-01-09 11:07:07 +01:00
renerocksai
3d651229f8
API cleanup #1
...
--------------
- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-08 15:50:46 +01:00
Rene Schallner
a8a8b537fe
http_auth test: http client code "fix"; also: 1 use 1 worker instead of 0 explicitly
2023-12-31 00:51:22 +01:00
Rene Schallner
82323f835e
0.12.0 ready
2023-12-29 23:34:33 +01:00
Rene Schallner
645db5c8d0
AuthResult is now an enum (was: bool)
2023-05-08 00:06:57 +02:00
Rene Schallner
d0be271337
Mega update! SimpleHttpRequest got Parameters!
...
parseBody() : parse form params
parseQuery() : parse query params
getParamCount() : returns number of parsed params
parametersToOwnedStrList() : get params as kv pairs of strings
parametersToOwnedList() : get params as kv list
getParamStr() : get parameter by name
2023-05-06 02:38:35 +02:00