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

14 commits

Author SHA1 Message Date
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