fix(http): fix serving large file

This commit is contained in:
2025-12-01 03:55:57 +01:00
parent 807cb5f862
commit b52483abaa
4 changed files with 80 additions and 105 deletions

View File

@@ -8,6 +8,6 @@ typedef struct mimetype {
const char *type;
} mimetype;
int http_get_content_type(char *location_path, char *content_type);
int http_get_content_type(const char *location_path, char *content_type);
#endif