摘要:
HTTP Basic 验证客户端的原理: 把HTTP头重的ContentType设置为:application/x-www-form-urlencoded 如果HTTP头没有Authorization,那么添加,并把这个设置为“Basic 用户名:密码”字符串组合的Base64编码。代码片段:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->HttpWebRequest request = (HttpWebRequest)HttpWebRequ 阅读全文
posted @ 2012-12-09 21:18
火腿骑士
阅读(291)
评论(0)
推荐(0)