mohws-0.2.1.3: Modular Haskell Web Server

Safe HaskellNone

Network.MoHWS.HTTP.Request

Synopsis

Documentation

data T body Source

Constructors

Cons 

Fields

command :: Command
 
uri :: URI
 
httpVersion :: T
 
headers :: Group
 
body :: body
 

Instances

Functor T 
Show (T body) 
HasHeaders (T body) 

toHTTPbis :: T body -> Request bodySource

fromHTTPbis :: Request body -> T bodySource

data RequestMethod

The HTTP request method, to be used in the Request object. We are missing a few of the stranger methods, but these are not really necessary until we add full TLS.

data Expect Source

Constructors

ExpectContinue 

Instances

pHeaders :: Monoid body => Parser (T body)Source