apple_pie icon indicating copy to clipboard operation
apple_pie copied to clipboard

Basic HTTP server implementation in Zig

Results 15 apple_pie issues
Sort by recently updated
recently updated
newest added

Unfortunately didn't get a stack trace but this showed up in my logs recently, thought I'd make a tracking issue

bug

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()...

bug

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,...

bug
good first issue

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...

enhancement
Breaking

Implement accordingly to https://tools.ietf.org/html/rfc2616#section-13

enhancement

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...

enhancement
good first issue