Update HTTP status code data type

This commit is contained in:
2024-01-07 13:25:31 +08:00
parent 4a75daa77d
commit db452fce0f
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ public:
Response() = delete;
explicit Response(Socket socket);
HeaderMap headers;
uint8_t code = 0;
uint16_t code = 0;
std::string reason;
std::string read();
std::string readAll();