diff options
author | Aki <please@ignore.pl> | 2020-08-15 02:06:51 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-15 02:06:51 +0200 |
commit | d90d0050c2ee91d11fce3a5fd45c5fb64018392c (patch) | |
tree | b1950c053f8c7a66d2722cf095733b0a7ec0dd9e /response.h | |
parent | c8ddc4b5ad62e7ec90f25c6f647bf1caf38f80e6 (diff) | |
download | plop-d90d0050c2ee91d11fce3a5fd45c5fb64018392c.zip plop-d90d0050c2ee91d11fce3a5fd45c5fb64018392c.tar.gz plop-d90d0050c2ee91d11fce3a5fd45c5fb64018392c.tar.bz2 |
Split http into request and response headers
Diffstat (limited to 'response.h')
-rw-r--r-- | response.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |