Learn the Zig programming language by fixing tiny broken programs.
-
Updated
Jun 4, 2022 - Zig
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. Focus on debugging your application rather than debugging your programming language knowledge. There is no hidden control flow, no hidden memory allocations, no preprocessor, and no macros.
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, and not only for 1.1.
Created by Andrew Kelley
Released February 2016
Sooner or later we will need to add tests to check for regressions.
I propose the following three kinds of tests: