mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
Add extra headers param to mg_http_serve_file
This commit is contained in:
1 parent
03ab9e4e0d
commit
b7a79a556a
7 files changed
+14
-13
No files matched your search
+2
-1
@@ -646,7 +646,8 @@ enable SSI, set a `-DMG_ENABLE_SSI=1` build flag.
|
||||
|
||||
```c
|
||||
void mg_http_serve_file(struct mg_connection *, struct mg_http_message *hm,
|
||||
const char *path, const char *mimetype);
|
||||
const char *path, const char *mimetype,
|
||||
const char *extra_headers);
|
||||
```
|
||||
|
||||
Serve static file.
|
||||
|
||||
Reference in new issue
Block a user