airship-0.9.4: A Webmachine-inspired HTTP library

Safe HaskellNone
LanguageHaskell2010

Airship.Headers

Synopsis

Documentation

addResponseHeader :: Monad m => Header -> Webmachine m () Source #

Adds a given Header to this handler's ResponseState.

modifyResponseHeaders :: Monad m => (ResponseHeaders -> ResponseHeaders) -> Webmachine m () Source #

Applies the given function to the ResponseHeaders present in this handlers ResponseState.