aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}