1{-# LANGUAGE OverloadedStrings #-}
3import Network.Wai.Handler.FastCGI
4import Control.Monad.IO.Class
5import qualified Data.ByteString.Lazy as L
6import qualified Data.ByteString.Lazy.Char8 as L8
7import qualified Data.Enumerator as E
12 | pathInfo req == "/" = return $ responseLBS status200 [("Content-Type", "text/html")] "<form method='post' action='/post'><input type='text' name='name'><input type='submit'></form>"
15 return $ responseLBS status200 [("Content-Type", "text/plain")] $ L.concat
16 [ L8.pack $ show $ requestHeaders req
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list