Commit 8bc69d2068e0ebd95679e0f6f57c28f0fbababaf

Baptiste 2024-07-25T19:30:30

reworked request.kc3

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/kc3/0.1/http/request.kc3 b/lib/kc3/0.1/http/request.kc3
index c3afe1c..e59860e 100644
--- a/lib/kc3/0.1/http/request.kc3
+++ b/lib/kc3/0.1/http/request.kc3
@@ -1,6 +1,6 @@
 defmodule HTTP.Request do
 
-  defstruct [action: :get,
+  defstruct [method: :get,
              url: "/",
              protocol: "HTTP/1.1",
              headers: []]