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;
//
}