This commit is contained in:
Maximilian Tagher 2019-10-09 16:11:54 -07:00
parent ffd5ba0474
commit e4c493d199
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
## 1.6.7
TODO
Add `addBasicAuthHeader` function [#1632](https://github.com/yesodweb/yesod/pull/1632)
## 1.6.6.2

View File

@ -1153,6 +1153,8 @@ addRequestHeader header = modifySIO $ \rbd -> rbd
--
-- > request $ do
-- > addBasicAuthHeader "Aladdin" "OpenSesame"
--
-- @since 1.6.7
addBasicAuthHeader :: CI ByteString -- ^ Username
-> CI ByteString -- ^ Password
-> RequestBuilder site ()