1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00
Commit graph

51 commits

Author SHA1 Message Date
Rene Schallner
1061c2d4ba added zap.Tls, updated https example 2023-12-30 03:28:21 +01:00
Rene Schallner
edf585c220 added tls support to zap 2023-12-29 17:31:10 +01:00
Rene Schallner
942fb0f4a9 fixed multi-file upload 2023-09-13 02:11:16 +02:00
Rene Schallner
661c230c0f added support for multi-file form upload 2023-09-13 01:36:42 +02:00
Rene Schallner
db9fd24f01 return unsupported for arrays 2023-09-12 20:06:51 +02:00
Rene Schallner
fe9937f331 return unsupported in case of arrays or unsupported types 2023-09-12 20:05:58 +02:00
Rene Schallner
8dbe0671a6 renamed unsupported_hash 2023-09-12 18:48:28 +02:00
Rene Schallner
ae98019e60 data as string 2023-09-12 18:36:57 +02:00
Rene Schallner
7884d56211 log data type 2023-09-12 18:19:12 +02:00
Rene Schallner
5f939fd666 try anyway 2023-09-12 18:04:09 +02:00
Rene Schallner
d1a0b6c15d added diagnostics 2023-09-12 16:24:12 +02:00
Rene Schallner
9517e7a253 progress: reading binary data 2023-09-12 16:02:34 +02:00
Rene Schallner
0f6beb4347 format httpparambinaryfile 2023-09-12 15:30:07 +02:00
Rene Schallner
8845afaf33 progress 2023-09-12 15:20:00 +02:00
Ed Yu
22d4b80cb9 Update to use the new alignCast where the alignOf is not needed anymore 2023-06-26 20:11:34 -07:00
Ed Yu
5611026479 Update builtin functions due to zig changes 2023-06-21 14:53:37 -07:00
Rene Schallner
d1da4ec3bc fix: setCookie in ReleaseXXX mode, spelling COOKIE 2023-05-29 18:19:25 +02:00
Rene Schallner
f5bbbff15f latest zig->snek_case, std.debug.TTY -> std.io.tty 2023-05-28 00:22:37 +02:00
Rene Schallner
e02fefd669 zap.zig: no ugly _module 2023-05-24 19:31:32 +02:00
Rene Schallner
fdf731f5b6 expose zap.stop() 2023-05-24 01:23:43 +02:00
Rene Schallner
e5e657870e first cut of sendError 2023-05-22 05:17:21 +02:00
Rene Schallner
35144b195e zap.Middleware.EndpointHandler, r.get/setContext() 2023-05-20 03:16:02 +02:00
Rene Schallner
d656452667 MIDDLEWARE support 2023-05-19 02:47:39 +02:00
Rene Schallner
a19acaeb83 better cache-control example f. sendFile 2023-05-14 00:21:25 +02:00
Rene Schallner
48e30ca35c feature: SimpleRequest.sendFile(filename) 2023-05-12 23:50:22 +02:00
Rene Schallner
0f9fbbd677 fixed setHeader debug logging 2023-05-09 05:18:24 +02:00
Rene Schallner
340b1ae3a8 UserPassSession Authentication!!! 2023-05-09 04:35:59 +02:00
Rene Schallner
00291117d8 websockets + example 2023-05-07 05:02:09 +02:00
Rene Schallner
b45a7df668 cookies! 2023-05-06 04:02:03 +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
Rene Schallner
7e2c3b6251 more tests, cleanup 2023-04-16 23:42:08 +02:00
Rene Schallner
1fa1d10acf started adding HTTP auth + tests 2023-04-16 06:44:14 +02:00
Rene Schallner
dcf1ea4750 added support for SimpleRequest.getHeader() 2023-04-14 23:32:56 +02:00
Rene Schallner
1fcb11f03a "fixed" release build errors in mustache example 2023-03-10 11:58:51 +01:00
Rene Schallner
615d90b8f4 added errors 2023-03-10 11:43:57 +01:00
Rene Schallner
d4175c08c5 potential throwaway-pre-travel commit 2023-03-10 08:38:33 +01:00
Rene Schallner
c42e5095d8 added preliminary zap debug logging 2023-03-04 18:37:55 +01:00
Rene Schallner
cd48038ae6 got rid of cImport 2023-02-27 13:33:19 +01:00
Rene Schallner
8273b56f2f mustache progress 2023-02-26 16:17:54 +01:00
Rene Schallner
087b000745 mustache progress 2023-02-15 16:55:07 +01:00
Quetzal Bradley
4427286969 Make ContentType, HttpParam, and ListenError public 2023-02-14 03:27:01 +00:00
Rene Schallner
0b368f14dd Added setContentTypeFromPath() 2023-01-29 16:27:06 +01:00
Rene Schallner
a5d8554e3b added http status code enum from apple_pie 2023-01-21 09:58:29 +01:00
Rene Schallner
27f3cb8628 zap: max_body_size, endpoint: mem buffer correction 2023-01-19 21:49:02 +01:00
Rene Schallner
4aeb8b0f1e added setStatus, updated README 2023-01-16 00:12:41 +01:00
Rene Schallner
bc07f3393b endpoint example: post user 2023-01-14 23:27:38 +01:00
Rene Schallner
b79d4d58c6 zap util 2023-01-14 22:18:21 +01:00
Rene Schallner
80185931c5 cleanup 2023-01-14 16:44:40 +01:00
Rene Schallner
9186bb58ec endpoint example: the beginnings 2023-01-14 16:13:14 +01:00
Rene Schallner
43dbab0278 fixed max_clients for Simple* 2023-01-13 18:59:53 +01:00