Kaya 0.5.3 reference for HTTP::basicAuthHeader

List of functions and data types in HTTP

Pair<String, String> basicAuthHeader(String user, String pwd)

Arguments

Usage

Creates an authentication header suitable for HTTP Basic Auth. The username may not contain a ':' character. Remember that this form of authentication is very insecure, and so should only be used over secure connections.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya