summaryrefslogtreecommitdiff
path: root/app/Web/Http.hs
diff options
context:
space:
mode:
authorAndrew Guschin <guschin.drew@gmail.com>2023-03-05 13:45:37 +0400
committerAndrew Guschin <guschin.drew@gmail.com>2023-03-05 13:47:41 +0400
commita0e8e5a91d15ed8c79f4a1b5914d3a6242c0cbd3 (patch)
tree76f76788523a16c0db8cb8f3a90b23912acd37d4 /app/Web/Http.hs
parentdd73de2e563c332c5a90bb21c5c7e6cbebc0ab86 (diff)
Migrated project to cabal
Diffstat (limited to 'app/Web/Http.hs')
-rw-r--r--app/Web/Http.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/Web/Http.hs b/app/Web/Http.hs
new file mode 100644
index 0000000..92cb043
--- /dev/null
+++ b/app/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