An HTTP library for Zig 0.17, server and client, HTTP/1.0 through HTTP/3, with the protocol in a module that owns no socket.
zig-http GLOSSARY.md
1.4 kB · 44 lines
Markdown
at main

zig-http #

An HTTP library for clients and servers speaking HTTP/1.1, HTTP/2 and HTTP/3 over one set of request and response types.

Language #

Responses #

Final response: The one response that completes a request: the first whose status is not in the 1xx class, or a 101 Switching Protocols. Avoid: real response, actual response

Interim response: A 1xx response other than 101 that a server sends ahead of the final response to the same request, such as 100 Continue or 103 Early Hints. A request may have any number of them, or none. Avoid: informational response, provisional response, early response

Informational: The 1xx class of status codes. A class of status codes, not a kind of message: 101 is informational but is a final response, not an interim one. Avoid: using it as a noun for the message

Requests #

100-continue expectation: A request's statement that its sender is holding the content back until the server answers the head, with a 100 Continue to ask for the content or a final response to decline it. Avoid: expect header, continue handshake, Expect (alone, as a noun)

Message parts #

Trailer section: The field section a message may carry after its body: at most one, and nothing follows it. Avoid: trailers (as a count noun), footer