mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Fix #299
This commit is contained in:
parent
d28cd3f937
commit
ed6d949f42
1 changed files with 1 additions and 0 deletions
|
@ -1561,6 +1561,7 @@ inline const char *find_content_type(const std::string &path) {
|
||||||
inline const char *status_message(int status) {
|
inline const char *status_message(int status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 200: return "OK";
|
case 200: return "OK";
|
||||||
|
case 204: return "No Content";
|
||||||
case 206: return "Partial Content";
|
case 206: return "Partial Content";
|
||||||
case 301: return "Moved Permanently";
|
case 301: return "Moved Permanently";
|
||||||
case 302: return "Found";
|
case 302: return "Found";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue