to get httpstatuscode from msdn(http://msdn.microsoft.com/zh-cn/library/system.net.httpstatuscode.aspx).