..
This commit is contained in:
parent
ffd5ba0474
commit
e4c493d199
@ -2,7 +2,7 @@
|
||||
|
||||
## 1.6.7
|
||||
|
||||
TODO
|
||||
Add `addBasicAuthHeader` function [#1632](https://github.com/yesodweb/yesod/pull/1632)
|
||||
|
||||
## 1.6.6.2
|
||||
|
||||
|
||||
@ -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 ()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user