aboutsummaryrefslogtreecommitdiff
path: root/src/http.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.gleam')
-rw-r--r--src/http.gleam13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/http.gleam b/src/http.gleam
new file mode 100644
index 0000000..d9942a8
--- /dev/null
+++ b/src/http.gleam
@@ -0,0 +1,13 @@
+// HTTP standard method as defined by RFC 2616, and PATCH which is defined by
+// RFC 5789.
+//
+pub enum Method =
+ | Get
+ | Post
+ | Head
+ | Put
+ | Delete
+ | Trace
+ | Connect
+ | Options
+ | Patch