airship-0.1.0.0: A Webmachine-inspired HTTP library

Safe HaskellNone
LanguageHaskell2010

Airship.Headers

Synopsis

Documentation

addResponseHeader :: Header -> Handler s m () Source

Adds a given Header to this handler's ResponseState.

modifyResponseHeaders :: (ResponseHeaders -> ResponseHeaders) -> Handler s m () Source

Applies the given function to the ResponseHeaders present in this Handler's ResponseState.