Skip to content

Instantly share code, notes, and snippets.

@JustusAdam
Created July 30, 2015 22:46
Show Gist options
  • Save JustusAdam/9f1b3da2fadef823ff8b to your computer and use it in GitHub Desktop.
Save JustusAdam/9f1b3da2fadef823ff8b to your computer and use it in GitHub Desktop.
import Network.Browser
main =
browse $ do
setAuthorityGen (\_ _ -> return $ Just ("username", "password"))
request $ getRequest "http://github.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment