diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-03-24 13:37:15 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-03-24 16:50:33 +0000 |
commit | 48581c78f4a362fcbd14edff57554f9244ba554c (patch) | |
tree | 7d524495636e806298e6f291174f570a213184aa | |
parent | 18cde14e022a6fdcc2043f24cee93e7d096ec0ab (diff) | |
download | gleam_stdlib-48581c78f4a362fcbd14edff57554f9244ba554c.tar.gz gleam_stdlib-48581c78f4a362fcbd14edff57554f9244ba554c.zip |
HTTP module
-rw-r--r-- | gen/http.erl | 6 | ||||
-rw-r--r-- | src/http.gleam | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gen/http.erl b/gen/http.erl new file mode 100644 index 0000000..6d2e42a --- /dev/null +++ b/gen/http.erl @@ -0,0 +1,6 @@ +-module(http). +-compile(no_auto_import). + +-export([]). + + 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 |