static string initialize(object request)
static string initialize(Reqest request)
static string initialize(object request){	string realm, nonce, opaque, stale, algorithm, qop;	/* TODO: SECURITY! Replace below with a real value */	realm =		"jorinde@dgd"; /* + request->get_header("Host");*/	nonce =		generate_nonce();	opaque =	generate_opaque();	/* TODO: SECURITY! store nonce in application! Verify against that!	 * request->get_application()	 */	stale =		(stale_nonce(nonce) ? "true" : "false");	algorithm =	"MD5";	qop =		"auth";	return	"Digest " +			"realm=\"" +		realm		+ "\", " +			"qop=\"" +			qop			+ "\", " +			"nonce=\"" +		nonce		+ "\", " +			"opaque=\"" +		opaque		+ "\", " +			"algorithm=" +		algorithm	+ ", " +			"stale=" +			stale		+ "";}