diff options
| author | Mr. Goblin <mrgoblin@mrgoblin.net> | 2026-09-27 11:42:26 +0300 |
|---|---|---|
| committer | Mr. Goblin <mrgoblin@mrgoblin.net> | 2026-09-27 11:42:26 +0300 |
| commit | 753621c39b76bd90610ea758567525425f8e2913 (patch) | |
| tree | 1be95ba6b7f1aad0b7912d297de88ff22882efc0 /codes.h | |
| parent | 8b9e5fc7f18d7b358124f51eddcccb544eb3b27c (diff) | |
codes from "Text" to "X Text\r\n"
Diffstat (limited to 'codes.h')
| -rw-r--r-- | codes.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 } |
