http.zig
http.zig copied to clipboard
An HTTP/1.1 server for zig
Does this lib use std.event.Loop or it using just threads
More of a request than an issue, but it'd be nice to have a route helper for static files, e.g. https://flask.palletsprojects.com/en/stable/quickstart/#static-files . Of course, users could open a file and...
Am in the early stages of thinking this one through Running a service on the cheapest possible VPS for the job. Want to be able to handle a large number...
I am not sure if I am using it wrong, but using default `httpz` config, `blocking_mode` is true, after receiving `websocket.Conn` when I try to write to it from a...
aarch64 macOS 15.2 (24C101) ```shell $ zig version 0.14.0-dev.3036+7ac110ac2 $ git log -1 commit a691d731047e9a5a79d71ac594cb8f5fad1d0705 (HEAD -> master, origin/master, origin/HEAD) Author: trilowy Date: Mon Feb 3 02:00:14 2025 +0100 fix:...
If you make a PUT request like this: `echo "hello world" | curl -T - localhost:3000` curl will not set the `content-length` header: ```bash ❯ echo "hello world" | curl...
I ran into ``` thread 546199 panic: switch on corrupt value Unwind error at address `:0x10c36e3` (error.AddressOutOfRange), trace may be incomplete /home/adrian/.cache/zig/p/httpz-0.0.0-PNVzrGu3BgAIRvYiWsbvVbzUyZg1-rzoT71hVSeLCHz7/src/worker.zig:564:49: 0x125efa3 in run (httpz.zig) .recv => |conn| switch...
HTTPS
Does it support HTTPS?
Is http.zig dev branch supposed to work with zig master (0.16.0) ? When I try to build a little program I am doing that uses http.zig dev with zig master,...