aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMr. Goblin <mrgoblin@mrgoblin.net>2026-09-27 11:42:26 +0300
committerMr. Goblin <mrgoblin@mrgoblin.net>2026-09-27 11:42:26 +0300
commit753621c39b76bd90610ea758567525425f8e2913 (patch)
tree1be95ba6b7f1aad0b7912d297de88ff22882efc0
parent8b9e5fc7f18d7b358124f51eddcccb544eb3b27c (diff)
codes from "Text" to "X Text\r\n"
-rw-r--r--codes.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/codes.h b/codes.h
index db68b3c..e1e464d 100644
--- a/codes.h
+++ b/codes.h
@@ -4,14 +4,14 @@
extern "C" {
#endif
-#define CODE_200_STR "OK"
-#define CODE_201_STR "Created"
-#define CODE_400_STR "Bad request"
-#define CODE_401_STR "Unauthorized"
-#define CODE_403_STR "Forbidden"
-#define CODE_404_STR "Not found"
-#define CODE_409_STR "Conflict"
-#define CODE_503_STR "Service unavailable"
+#define CODE_200_STR "200 OK\r\n"
+#define CODE_201_STR "201 Created\r\n"
+#define CODE_400_STR "400 Bad request\r\n"
+#define CODE_401_STR "401 Unauthorized\r\n"
+#define CODE_403_STR "403 Forbidden\r\n"
+#define CODE_404_STR "404 Not found\r\n"
+#define CODE_409_STR "409 Conflict\r\n"
+#define CODE_503_STR "503 Service unavailable\r\n"
#ifdef __cplusplus
}