diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-05-08 19:26:10 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-05-08 19:26:10 +0200 |
| commit | 30d4ca02ea147089af994ea7d5f7941a4bbe94a7 (patch) | |
| tree | 9fd9086c74976f7851a7622756a20dcb6af91e18 /mini-http/Main.hs | |
| parent | ba9d7504080fb4e9adfb2d33290190e06d2f8773 (diff) | |
Rename mini-http to mini-http-server
And move Parser to Internal.Parser for test suite
Diffstat (limited to 'mini-http/Main.hs')
| -rw-r--r-- | mini-http/Main.hs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mini-http/Main.hs b/mini-http/Main.hs deleted file mode 100644 index 08e66c1..0000000 --- a/mini-http/Main.hs +++ /dev/null @@ -1,12 +0,0 @@ -{-# LANGUAGE OverloadedStrings #-} -module Main where - -import Data.ByteString.Char8 qualified as BS8 - -import Network.HTTP.Server.Mini - - -main :: IO () -main = - run defaultSettings { setPort = 8000 } $ \req -> - return (responseBS status200 [("Content-Type", "text/plain")] (BS8.pack (show req))) |
