* @param password Password to be encoded in header
*
* @return Header which corresponds to HTTP Basic authorization for given credentials
*/
public static RequestHeader createBasicAuthorization(String username, String password) {
return new RequestHeader("Authorization", "Basic " + URLUtils.encodeBase64Credentials(username, password));
}