#include "http/http_response.h" #include "http/http_status.h" #include #include int main() { char body[BUFSIZ] = "

Bonsoir

"; HttpResponse response = {.status_code = HTTP_OK, .content_type = HTTP_CT_HTML, .content_length = strlen(body), .body = body}; char out[BUFSIZ]; construct_response(response, out); printf("%s", out); return 0; }