Add GUC for accessing the Authorization header
This commit is contained in:
committed by
Steve Chavez
parent
aa0d6a6831
commit
b20e1150a5
@@ -131,7 +131,7 @@ userApiRequest schema rootSpec req reqBody
|
||||
. map (join (***) toS . second (fromMaybe BS.empty))
|
||||
$ qString
|
||||
, iJWT = tokenStr
|
||||
, iHeaders = [ (toS $ CI.foldedCase k, toS v) | (k,v) <- hdrs, k /= hAuthorization, k /= hCookie]
|
||||
, iHeaders = [ (toS $ CI.foldedCase k, toS v) | (k,v) <- hdrs, k /= hCookie]
|
||||
, iCookies = maybe [] parseCookiesText $ lookupHeader "Cookie"
|
||||
}
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user