Commit 766ce8be4d98e68896204b1fec323ed5066812c5

Thomas de Grivel 2024-09-13T21:15:34

http: :get -> GET

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/test/http/04_server_request.kc3 b/test/http/04_server_request.kc3
index 2a3e830..7e7f091 100644
--- a/test/http/04_server_request.kc3
+++ b/test/http/04_server_request.kc3
@@ -12,11 +12,11 @@ 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, server_client.buf_rw.w, true)
 HTTP.Response.buf_write(response, server_client.buf_rw.w, true)
-quote client_req = %HTTP.Request{method: :get,
+quote client_req = %HTTP.Request{method: GET,
                                  url: "/",
                                  protocol: "HTTP/1.1",
                                  headers: []}
-client_req = %HTTP.Request{method: :get,
+client_req = %HTTP.Request{method: GET,
                            url: "/",
                            protocol: "HTTP/1.1",
                            headers: []}