summaryrefslogtreecommitdiffhomepage
path: root/response.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-08-15 02:06:51 +0200
committerAki <please@ignore.pl>2020-08-15 02:06:51 +0200
commitd90d0050c2ee91d11fce3a5fd45c5fb64018392c (patch)
treeb1950c053f8c7a66d2722cf095733b0a7ec0dd9e /response.h
parentc8ddc4b5ad62e7ec90f25c6f647bf1caf38f80e6 (diff)
downloadplop-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.h6
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);