diff options
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,10 +35,10 @@ #include "http.h" void -http_open(struct kreq * r, enum khttp code) +http_open(struct kreq * r, enum khttp code, enum kmime mime) { khttp_head(r, kresps[KRESP_STATUS], "%s", khttps[code]); - khttp_head(r, kresps[KRESP_CONTENT_TYPE], "%s", kmimetypes[r->mime]); + khttp_head(r, kresps[KRESP_CONTENT_TYPE], "%s", kmimetypes[mime]); khttp_body(r); } |