1HTTP.basicAuthHeader(3kaya) Kaya module reference HTTP.basicAuthHeader(3kaya)
2
3
4
6 HTTP::basicAuthHeader - Create a Basic authentication header
7
9 Pair<String, String> basicAuthHeader( String user, String pwd )
10
12 user The username
13
14 pwd The password
15
17 Creates an authentication header suitable for HTTP Basic Auth. The
18 username may not contain a ':' character. Remember that this form of
19 authentication is very insecure, and so should only be used over secure
20 connections.
21
23 Kaya standard library by Edwin Brady, Chris Morris and others
24 (kaya@kayalang.org). For further information see http://kayalang.org/
25
27 The Kaya standard library is free software; you can redistribute it
28 and/or modify it under the terms of the GNU Lesser General Public
29 License (version 2.1 or any later version) as published by the Free
30 Software Foundation.
31
33 HTTP.getURL (3kaya)
34 HTTP.postURL (3kaya)
35
36
37
38Kaya December 2010 HTTP.basicAuthHeader(3kaya)