Commit c130689b2b2127babb5854d29a88862534a6bc73

Baptiste 2024-07-31T21:05:07

http request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/http/http_request.c b/http/http_request.c
index a5891e8..6a2d71d 100644
--- a/http/http_request.c
+++ b/http/http_request.c
@@ -30,8 +30,9 @@ s_http_request * http_request_buf_parse (s_http_request *req, s_buf *buf)
   if (r > 0)
     tmp.method = sym_1("get");
   if (! tmp.method) {
-    err_puts("http_request_buf_parse: no method");
+    err_write_1("http_request_buf_parse: no method: ");
     err_inspect_buf(buf);
+    err_write_1("\n");
     goto restore;
   }
   if (false) {