Mercurial
comparison seobeo/s_web.c @ 100:65e5a5b89a4e
[Seobeo] Migrated everything to this page.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 07:48:07 -0800 |
| parents | 70401cf61e97 |
| children | 3468e2fe8d88 |
comparison
equal
deleted
inserted
replaced
| 99:684edfaf93b7 | 100:65e5a5b89a4e |
|---|---|
| 220 else if (strstr(file_path, ".jpg") || strstr(file_path, ".jpeg")) mime = "image/jpeg"; | 220 else if (strstr(file_path, ".jpg") || strstr(file_path, ".jpeg")) mime = "image/jpeg"; |
| 221 else if (strstr(file_path, ".gif")) mime = "image/gif"; | 221 else if (strstr(file_path, ".gif")) mime = "image/gif"; |
| 222 else if (strstr(file_path, ".svg")) mime = "image/svg+xml"; | 222 else if (strstr(file_path, ".svg")) mime = "image/svg+xml"; |
| 223 else if (strstr(file_path, ".ico")) mime = "image/x-icon"; | 223 else if (strstr(file_path, ".ico")) mime = "image/x-icon"; |
| 224 else if (strstr(file_path, ".json")) mime = "application/json"; | 224 else if (strstr(file_path, ".json")) mime = "application/json"; |
| 225 else if (strstr(file_path, ".wasm")) mime = "application/wasm"; | |
| 225 | 226 |
| 226 Seobeo_Log(SEOBEO_DEBUG, "File path: %s\nBody Size: %zu\n", file_path, body_size); | 227 Seobeo_Log(SEOBEO_DEBUG, "File path: %s\nBody Size: %zu\n", file_path, body_size); |
| 227 | 228 |
| 228 Seobeo_Web_Header_Generate(p_response_header, | 229 Seobeo_Web_Header_Generate(p_response_header, |
| 229 HTTP_OK, | 230 HTTP_OK, |