mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-04 10:16:00 +00:00
Http, Heartbeat: Process status < 0 differently, report as "Invalid
Response Code"
This commit is contained in:
@@ -210,6 +210,7 @@ std::string Http::POST(const std::string& host, const std::string& target, const
|
||||
|
||||
// RFC 2616, RFC 7231
|
||||
static std::map<size_t, const char*> Map = {
|
||||
{ -1, "Invalid Response Code"},
|
||||
{ 100, "Continue" },
|
||||
{ 101, "Switching Protocols" },
|
||||
{ 102, "Processing" },
|
||||
|
||||
Reference in New Issue
Block a user