apple_pie
apple_pie copied to clipboard
Basic HTTP server implementation in Zig
Unfortunately didn't get a stack trace but this showed up in my logs recently, thought I'd make a tracking issue
Is it possible to support https protocol in apple pie?
### Steps to reproduce Apply this patch to the router example: ```patch diff --git a/examples/router.zig b/examples/router.zig index 5b7d909..eabe465 100644 --- a/examples/router.zig +++ b/examples/router.zig @@ -28,7 +28,7 @@ pub fn main()...
the hashmap currently provided by `Request.headers(Allocator)` does not currently support this
According to https://datatracker.ietf.org/doc/html/rfc2068#section-19.7.1, an HTTP/1.0 client is allowed to have a persistent connection using the `Connection: keep-alive` header. This means that we should verify/check this header also for HTTP/1.0 connections,...
Hey there, i am a zig newbie here. It looks to me that the router is splitting the called url path by slash and matching on those substrings. The trie...
This proposal includes multiple changes to the way responses handle headers. The first idea is to make the key of a header an union(enum). This allows us to provide pre-defined...
As title, will it be?
Implement accordingly to https://tools.ietf.org/html/rfc2616#section-13
When a client requests with a header `Expect: 100-continue`, we must send a status 100 `continue`. We can send this immediately after verifying the request headers and MUST send this...