switch( dwRetcode )
{
case 100:
m_StrError = TEXT("客户方错误-继续 [Continue]");
break;
//
case 101:
m_StrError = TEXT("客户方错误-交换协议 [witching Protocols]");
break;
//
case 204:
m_StrError = TEXT("网页内容为空 [No Content]");
break;
//------------------------------------------------------------
case 400:
m_StrError = TEXT("错误请求 [Bad Request]");
break;
//
case 401:
m_StrError = TEXT("网页需要验证信息 [Unauthorized]");
break;
//
case 402:
m_StrError = TEXT("网页需要付费 [Payment Required]");
break;
//
case 403:
m_StrError = TEXT("禁止访问 [Forbidden]");
break;
//
case 404://
m_StrError = TEXT("没有找到网页 [Not Found]");
break;
//
case 405:
m_StrError = TEXT("不允许Http访问该文件 [Method Not Allowed]");
break;
//
case 406:
m_StrError = TEXT("该文件不允许访问 [Not Acceptable]");
break;
//
case 407:
m_StrError = TEXT("该文件需要代理认证 [Proxy Authentication Required]");
break;
//
case 408:
m_StrError = TEXT("对该文件请求超时 [Request Time-out]");
break;
//
case 409:
m_StrError = TEXT("对该文件访问冲突 [Conflict]");
break;
//
case 410:
m_StrError = TEXT("对该文件访问失败 [Gone]");
break;
//
case 411:
m_StrError = TEXT("该文件需要长度信息 [Length Required]");
break;
//
case 412:
m_StrError = TEXT("请求条件失败 [Precondition Failed]");
break;
//
case 413:
m_StrError = TEXT("请求文件实体太大 [Request Entity Too Large]");
break;
//
case 414:
m_StrError = TEXT("请求的URI太长 [Request-URI Too Large]");
break;
//
case 415:
m_StrError = TEXT("不支持媒体类型 [Unsupported Media Type]");
break;
//
case 416:
m_StrError = TEXT("队列请求失败 [Requested range not satisfiable]");
break;
//
case 417:
m_StrError = TEXT("预期失败 [Expectation Failed]");
break;
//--------------------------------------------------------------
case 500:
m_StrError = TEXT("服务器内部错误 [Internal Server Error]");
break;
//
case 501:
m_StrError = TEXT("未实现请求 [Not Implemented]");
break;
//
case 502:
m_StrError = TEXT("网关失败 [Bad Gateway]");
break;
//
case 503:
m_StrError = TEXT("没有找到服务器 [Service Unavailable]");
break;
//
case 504:
m_StrError = TEXT("网关超时 [Gateway Time-out]");
break;
//
case 505:
m_StrError = TEXT("服务器不支持系统使用的HTTP版本 [HTTP Version not supported]");
break;
//
}