aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2019-03-24 13:37:15 +0000
committerLouis Pilfold <louis@lpil.uk>2019-03-24 16:50:33 +0000
commit48581c78f4a362fcbd14edff57554f9244ba554c (patch)
tree7d524495636e806298e6f291174f570a213184aa /src
parent18cde14e022a6fdcc2043f24cee93e7d096ec0ab (diff)
downloadgleam_stdlib-48581c78f4a362fcbd14edff57554f9244ba554c.tar.gz
gleam_stdlib-48581c78f4a362fcbd14edff57554f9244ba554c.zip
HTTP module
Diffstat (limited to 'src')
-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