From d90d0050c2ee91d11fce3a5fd45c5fb64018392c Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 15 Aug 2020 02:06:51 +0200 Subject: Split http into request and response headers --- response.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 response.h (limited to 'response.h') diff --git a/response.h b/response.h new file mode 100644 index 0000000..ec90bc5 --- /dev/null +++ b/response.h @@ -0,0 +1,6 @@ +#pragma once + +#include "http.h" + +int respond_only_status(int, enum status); +int respond_with_body(int, enum status, const char *, int); -- cgit v1.1