Commit a25ef18e37916210e6a6fa976fdf0be189aa4a1d

Thomas de Grivel 2024-09-13T14:57:52

fix test/http/04_server_request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/test/http/04_server_request.kc3 b/test/http/04_server_request.kc3
index db27370..2a3e830 100644
--- a/test/http/04_server_request.kc3
+++ b/test/http/04_server_request.kc3
@@ -10,8 +10,8 @@ quote req = HTTP.Request.buf_parse(server_client.buf_rw.r)
 req = HTTP.Request.buf_parse(server_client.buf_rw.r)
 quote response = %HTTP.Response{body: "Hello, KC3 HTTP test server !"}
 response = %HTTP.Response{body: "Hello, KC3 HTTP test server !"}
-quote HTTP.Response.buf_write(response, client.buf_rw.w, true)
-HTTP.Response.buf_write(response, client.buf_rw.w, true)
+quote HTTP.Response.buf_write(response, server_client.buf_rw.w, true)
+HTTP.Response.buf_write(response, server_client.buf_rw.w, true)
 quote client_req = %HTTP.Request{method: :get,
                                  url: "/",
                                  protocol: "HTTP/1.1",