Commits

David Krentzlin committed b83534c Draft

added example for authentication

Comments (0)

Files changed (1)

        (use open-uri)
     
        (display (open-uri "http://call-cc.org"))
-       (open-uri "http://wiki.call-cc.org" (lambda (port) (read-line port)))
+       (open-uri "http://wiki.call-cc.org" reader: (lambda (port) (read-line port)))
+       (open-uri "http://some-protected-domain.example.org" username: "username" password: "password")
 
 
 Implement your own openers