aboutsummaryrefslogtreecommitdiff
path: root/beaker.h
diff options
context:
space:
mode:
Diffstat (limited to 'beaker.h')
-rw-r--r--beaker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/beaker.h b/beaker.h
index d19d4c6..634795f 100644
--- a/beaker.h
+++ b/beaker.h
@@ -95,6 +95,7 @@ void set_handler(const char *path, RequestHandler handler);
char *parse_request_url(const char *request_buffer, UrlParams *params);
const char *get_mime_type(const char *file_path);
bool serve_static_file(const char *request_path_relative_to_static);
+bool serve_static_file_with_mime(const char *request_path_relative_to_static, const char *mime_type);
int beaker_run(const char *ip, int port);