diff options
| author | Andrew <saintruler@gmail.com> | 2020-11-27 17:40:04 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-11-27 17:40:04 +0400 |
| commit | fb7e450d917ec87202f9de019238b78c1b645328 (patch) | |
| tree | ca70481709864b5c6510009fe45a9d6b6f91dd8c /Request.hs | |
| parent | 039c96096bf8f2294850be79a88a0761a5f58acf (diff) | |
Added basic HTTP types
Diffstat (limited to 'Request.hs')
| -rw-r--r-- | Request.hs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,10 @@ module Request where +import Http + -- Request query url method -data Request = Request String String String +data Request = Request [QueryPair] String Method + deriving Show getQuery (Request query _ _) = query |