summaryrefslogtreecommitdiff
path: root/Web/Http.hs
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-11-27 17:50:54 +0400
committerAndrew <saintruler@gmail.com>2020-11-27 17:50:54 +0400
commit1cc6cfef971ccb3c1d70f2a5570e445556e4f6fb (patch)
tree4773f8178225068e19bd7418622f8dd9084543ac /Web/Http.hs
parentfb7e450d917ec87202f9de019238b78c1b645328 (diff)
Changed directory structure
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