aboutsummaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index c201d92..4fcc418 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -168,7 +168,7 @@ void http_send_body(http_request req, const_string body);
int init_server(arena *arena, http_server *serv, char *addr, char *port);
int listen_and_serve(http_server *serv);
-http_handler *http_handle_path(http_server *serv, const_string method, const_string path, http_handler_func handler);
+http_handler *http_handle_path(http_server *serv, char *method, char *path, http_handler_func handler);
void http_run_next(http_middleware *self, http_request req);
void http_register_global_middleware(http_server *hand, http_middleware_func func);