# 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