comparison seobeo/s_web.c @ 223:0e7b9464248d hg-web

[hg-web] Add browser route regression coverage
author MrJuneJune <me@mrjunejune.com>
date Sun, 02 Aug 2026 10:07:40 -0700
parents ce7f4400c2de
children 543df0fe7168
comparison
equal deleted inserted replaced
222:a8d6435dc021 223:0e7b9464248d
49 const char *status_text; 49 const char *status_text;
50 switch(status) 50 switch(status)
51 { 51 {
52 case HTTP_OK: status_text = "OK"; break; 52 case HTTP_OK: status_text = "OK"; break;
53 case HTTP_CREATED: status_text = "Created"; break; 53 case HTTP_CREATED: status_text = "Created"; break;
54 case HTTP_NO_CONTENT: status_text = "No Content"; break;
54 case HTTP_MOVED_PERMANENTLY: status_text = "Moved Permanently"; break; 55 case HTTP_MOVED_PERMANENTLY: status_text = "Moved Permanently"; break;
55 case HTTP_FOUND: status_text = "Found"; break; 56 case HTTP_FOUND: status_text = "Found"; break;
56 case HTTP_BAD_REQUEST: status_text = "Bad Request"; break; 57 case HTTP_BAD_REQUEST: status_text = "Bad Request"; break;
57 case HTTP_UNAUTHORIZED: status_text = "Unauthorized"; break; 58 case HTTP_UNAUTHORIZED: status_text = "Unauthorized"; break;
58 case HTTP_FORBIDDEN: status_text = "Forbidden"; break; 59 case HTTP_FORBIDDEN: status_text = "Forbidden"; break;