requestz
requestz copied to clipboard
HTTP client for Zig 🦎
Builds were failing using the current version of iguanaTLS. If people get errors about `c_void`, it was changed to `anyopaque`.
Updates for zig master (code broken with zig 7f03cfe161a2f7b5abbd00ab1ea29ddd6190d435 on 2021-09-01)
As of zig [7f03cfe](https://github.com/ziglang/zig/commit/7f03cfe161a2f7b5abbd00ab1ea29ddd6190d435), AF_INET has been removed and replaced with AF that contains INET/INET6/etc. This PR allows use after that commit. Note that to do this, I needed to...
Reported this morning by @q60. - Code: https://gist.github.com/q60/4d875206006df803d8f7c7daf5acb997 - Env: Zig 0.9.0 running linux x86_64
If this package is not under development, I think it would be helpful to recommend another package. Here is one option: https://github.com/truemedian/zfetch but if someone has a better option, that...
it seems currently this package does not support TLS 1.3: https://github.com/ducdetronquito/requestz/issues/22 and even TLS 1.2, is only experimental: https://github.com/alexnask/iguanaTLS the standard library now supports TLS, but again only 1.3: https://github.com/ziglang/zig/issues/14172...