on master help sign in
Expose "headers" lens

All other lenses for `Action` are exposed. Without it, it is impossible to access the headers field.

commite333ed5ff607b4db61e038978a5db6f777850505 authorMatthew Pickering <matthewtpickering@gmail.com> dateSat 3 Jan 2015, 16:11 (12 years ago) parent174a425
1 file changed+1−1
src/Servant/Docs.hs+1−1
src/Servant/Docs.hs+1−1
@@ -99,7 +99,7 @@ module Servant.Docs
9999 , DocCapture(..), capSymbol, capDesc
100100 , DocQueryParam(..), ParamKind(..), paramName, paramValues, paramDesc, paramKind
101101 , Response, respStatus, respBody, defResponse
102− , Action, captures, params, rqbody, response, defAction
102+ , Action, captures, headers, params, rqbody, response, defAction
103103 , single
104104
105105 , -- * Useful modules when defining your doc printers