postgrest-9.0.0: REST API for any Postgres database
Safe HaskellNone
LanguageHaskell2010

PostgREST.GucHeader

Synopsis

Documentation

data GucHeader Source #

Custom guc header, it's obtained by parsing the json in a: `SET LOCAL "response.headers" = '[{"Set-Cookie": ".."}]'

Instances

Instances details
FromJSON GucHeader Source # 
Instance details

Defined in PostgREST.GucHeader

addHeadersIfNotIncluded :: [Header] -> [Header] -> [Header] Source #

Add headers not already included to allow the user to override them instead of duplicating them