summaryrefslogtreecommitdiff
path: root/Web/Http.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Web/Http.hs')
-rw-r--r--Web/Http.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Web/Http.hs b/Web/Http.hs
new file mode 100644
index 0000000..92cb043
--- /dev/null
+++ b/Web/Http.hs
@@ -0,0 +1,12 @@
+module Web.Http where
+
+import Data.Text (Text)
+
+data Header = Header Text Text
+ deriving Show
+
+data Method = GET | PUT | POST
+ deriving (Show, Eq)
+
+data QueryPair = QueryPair Text Text
+ deriving Show