1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00
Commit graph

32 commits

Author SHA1 Message Date
Michael Pollind
512c630781 feat: tweak support for additional cookie fields
Signed-off-by: Michael Pollind <mpollind@gmail.com>
2025-08-10 18:59:27 -07:00
Michael Pollind
6174c3e5e0 feat: add parition support for cookies in facil.io
Signed-off-by: Michael Pollind <mpollind@gmail.com>
2025-08-06 21:12:08 -07:00
renerocksai
d9739599ec
added fio-typecheck of mimetype field when parsing binfiles 2025-07-25 01:59:02 +02:00
Rene Schallner
35634a97cd
Merge pull request #167 from yanis-fourel/master
Accept file with no specified Content-Type
2025-07-23 00:47:08 +02:00
QSmally
fd567f3c29
Zap: remove newline for Zig's default log fn 2025-05-08 15:30:54 +02:00
Yanis Fourel
4e1b50aca8 Accept file with no specified Content-Type 2025-05-04 14:31:39 +08:00
renerocksai
8d187310c7 harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
Rene Schallner
f4e42f2557 add zap.Request.headersToOwnedList() 2025-03-21 19:31:11 +01:00
Rene Schallner
3aaa7fcc24 removed Self and @This() as much as possible 2025-03-21 18:57:33 +01:00
Rene Schallner
9eb254d5f8 get rid of zap.util.FreeOrNot 2025-03-21 18:21:27 +01:00
renerocksai
ab42f971a0
remove usingnamespace 2025-03-16 16:17:42 +01:00
Rene Schallner
e9fa568751
update to zig master 2025-03-06 13:42:40 +01:00
Rene Schallner
11fa66a31c doc: getHeader need lowercase keys 2024-07-15 12:29:03 +02:00
Rene Schallner
fed9633121 make zap master build with zig master 2024-06-27 19:33:04 +02:00
Louis Pearson
31ba05d6e9 feat: pre-allocate enough space for accept items 2024-04-27 21:09:20 -06:00
Rene Schallner
c79d62ca2c proposed change to parseAccept API 2024-04-27 21:29:32 +02:00
Louis Pearson
4988feb314 fix: simplify accept header api somewhat 2024-04-24 21:53:41 -06:00
Louis Pearson
6d646b62d6 feat: make example for parseAccept 2024-04-24 19:19:11 -06:00
Louis Pearson
698c06d808 feat: add parseAccept 2024-04-24 18:15:04 -06:00
Louis Pearson
49d629ba55 fix: last_modifed -> last_modified 2024-04-23 15:15:40 -06:00
Rene Schallner
5f368cf125 add doc comment to Request.sendError 2024-04-21 20:07:16 +02:00
Rene Schallner
540c2043fb re-fix error 2024-04-21 14:24:17 +02:00
Rene Schallner
789e6b02b8
Merge pull request #92 from leroycep/error-return-trace
fix: use error return trace in senderror
2024-04-21 13:48:58 +02:00
Louis Pearson
38c12a0a6b fix: use runtime values of HTTP_HEADER_* for getHeaderCommon 2024-04-18 18:08:39 -06:00
Louis Pearson
5ed5dc2c3a feat: add getHeaderCommon 2024-04-18 16:43:07 -06:00
geemili
5f4b7957dc fix: use error return trace in senderror
This should produce more usable error messages. The error messages before
this were pointing at zap runtime functions, instead of at the code that
produced the error.
2024-04-18 16:16:15 -06:00
Rene Schallner
8a18a0258f performance: revert r.method enum back to ?[]const u8
new http.Method enum is available via r.methodAsEnum()
2024-02-24 15:36:44 +01:00
Rene Schallner
0609f98e05 cosmetics 2024-02-22 22:54:46 +01:00
Rene Schallner
c91948933c access raw query params w/o allocator, close #40 2024-02-22 22:44:04 +01:00
Froxcey
37f7b8b4aa
Use custom method enum 2024-01-31 21:15:27 +08:00
Froxcey
92fdb6605c
Use std.http.Method for Request.method 2024-01-27 21:10:04 +08:00
Rene Schallner
61fbbe8b08 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:13:25 +01:00