mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
changed mg_get_mime_type to expect the default type as argument
instead of using a configuration option
This commit is contained in:
1 parent
45f6612096
commit
956788d7de
2 files changed
+4
-6
No files matched your search
+1
-1
@@ -86,7 +86,7 @@ int mg_printf(struct mg_connection *conn, const char *fmt, ...);
|
||||
|
||||
|
||||
const char *mg_get_header(const struct mg_connection *, const char *name);
|
||||
const char *mg_get_mime_type(struct mg_server*, const char *file_name);
|
||||
const char *mg_get_mime_type(const char *file_name, const char *default_mime_type);
|
||||
int mg_get_var(const struct mg_connection *conn, const char *var_name,
|
||||
char *buf, size_t buf_len);
|
||||
int mg_parse_header(const char *hdr, const char *var_name, char *buf, size_t);
|
||||
|
||||
Reference in new issue
Block a user