You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::string status = "404"; res->writeStatus(std::string_view(status)); res->end("File not found");
The status code is returning incorrectly. I expect it to return 404, but it is ultimately returning 200.
std::string status = "404"; res->writeStatus(std::string_view(status)); res->end("File not found");The status code is returning incorrectly. I expect it to return 404, but it is ultimately returning 200.