3초기억력

MicroSoft.XMLHTTP 코드 정리(status) 본문

플밍_기타

MicroSoft.XMLHTTP 코드 정리(status)

잠수콩 2011. 4. 14. 09:43
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.



MicroSoft.XMLHTTP 코드 정리(status)

Private Function GetResponse(StatusCode As Integer) As String
'translates HTTP response codes into error messages
Select Case StatusCode
Case 100: GetResponse = "Continue"
Case 101: GetResponse = "Switching protocols"
Case 200: GetResponse = "OK"
Case 201: GetResponse = "Created"
Case 202: GetResponse = "Accepted"
Case 203: GetResponse = "Non-Authoritative Information"
Case 204: GetResponse = "No Content"
Case 205: GetResponse = "Reset Content"
Case 206: GetResponse = "Partial Content"
Case 300: GetResponse = "Multiple Choices"
Case 301: GetResponse = "Moved Permanently"
Case 302: GetResponse = "Found"
Case 303: GetResponse = "See Other"
Case 304: GetResponse = "Not Modified"
Case 305: GetResponse = "Use Proxy"
Case 307: GetResponse = "Temporary Redirect"
Case 400: GetResponse = "Bad Request"
Case 401: GetResponse = "Unauthorized"
Case 402: GetResponse = "Payment Required"
Case 403: GetResponse = "Forbidden"
Case 404: GetResponse = "Not Found"
Case 405: GetResponse = "Method Not Allowed"
Case 406: GetResponse = "Not Acceptable"
Case 407: GetResponse = "Proxy Authentication Required"
Case 408: GetResponse = "Request Timeout"
Case 409: GetResponse = "Conflict"
Case 410: GetResponse = "Gone"
Case 411: GetResponse = "Length Required"
Case 412: GetResponse = "Precondition Failed"
Case 413: GetResponse = "Request Entity Too Large"
Case 414: GetResponse = "Request-URI Too Long"
Case 415: GetResponse = "Unsupported Media Type"
Case 416: GetResponse = "Requested Range Not Suitable"
Case 417: GetResponse = "Expectation Failed"
Case 500: GetResponse = "Internal Server Error"
Case 501: GetResponse = "Not Implemented"
Case 502: GetResponse = "Bad Gateway"
Case 503: GetResponse = "Service Unavailable"
Case 504: GetResponse = "Gateway Timeout"
Case 505: GetResponse = "HTTP Version Not Supported"
Case 12001: GetResponse = "Out Of Handles"
Case 12002: GetResponse = "Timeout"
Case 12003: GetResponse = "Extended Error"
Case 12004: GetResponse = "Internal Error"
Case 12005: GetResponse = "Invalid Url"
Case 12006: GetResponse = "Unrecognized Scheme"
Case 12007: GetResponse = "Name Not Resolved"
Case 12008: GetResponse = "Protocol Not Found"
Case 12009: GetResponse = "Invalid Option"
Case 12010: GetResponse = "Bad Option Length"
Case 12011: GetResponse = "Option Not Settable"
Case 12012: GetResponse = "Shutdown"
Case 12013: GetResponse = "Incorrect User Name"
Case 12014: GetResponse = "Incorrect Password"
Case 12015: GetResponse = "Login Failure"
Case 12016: GetResponse = "Invalid Operation"
Case 12017: GetResponse = "Operation Cancelled"
Case 12018: GetResponse = "Incorrect Handle Type"
Case 12019: GetResponse = "Incorrect Handle State"
Case 12020: GetResponse = "Not Proxy Request"
Case 12021: GetResponse = "Registry Value Not Found"
Case 12022: GetResponse = "Bad Registry Parameter"
Case 12023: GetResponse = "No Direct Access"
Case 12024: GetResponse = "No Context"
Case 12025: GetResponse = "No Callback"
Case 12026: GetResponse = "Request Pending"
Case 12027: GetResponse = "Incorrect Format"
Case 12028: GetResponse = "Item Not Found"
Case 12029: GetResponse = "Cannot Connect"
Case 12030: GetResponse = "Connection Aborted"
Case 12031: GetResponse = "Connection Reset"
Case 12032: GetResponse = "Force Retry"
Case 12033: GetResponse = "Invalid Proxy Request"
Case 12036: GetResponse = "Handle Exists"
Case 12037: GetResponse = "Sec Cert Date Invalid"
Case 12038: GetResponse = "Sec Cert Cn Invalid"
Case 12039: GetResponse = "Http To Https On Redir"
Case 12040: GetResponse = "Https To Http On Redir"
Case 12041: GetResponse = "Mixed Security"
Case 12042: GetResponse = "Chg Post Is Non Secure"
Case 12043: GetResponse = "Post Is Non Secure"
Case 12110: GetResponse = "Transfer In Progress"
Case 12111: GetResponse = "Dropped"
Case 12130: GetResponse = "Protocol Error"
Case 12131: GetResponse = "Not File"
Case 12132: GetResponse = "Data Error"
Case 12133: GetResponse = "End Of Data"
Case 12134: GetResponse = "Invalid Locator"
Case 12135: GetResponse = "Incorrect Locator Type"
Case 12136: GetResponse = "Not Gopher Plus"
Case 12137: GetResponse = "Attribute Not Found"
Case 12138: GetResponse = "Unknown Locator"
Case 12150: GetResponse = "Header Not Found"
Case 12151: GetResponse = "Downlevel Server"
Case 12152: GetResponse = "Invalid Server Response"
Case 12153: GetResponse = "Invalid Header"
Case 12154: GetResponse = "Invalid Query Request"
Case 12155: GetResponse = "Header Already Exists"
Case 12156: GetResponse = "Redirect Failed"
Case Else: GetResponse = "Unknown Error"
End Select
End Function
============================

'플밍_기타' 카테고리의 다른 글

WinMerge 프로그램  (0) 2011.04.14
TCP_IP_사용포트 정리문서  (0) 2011.04.14
아웃룩 - Vcard 양식 (*.vcf)  (0) 2011.04.13
XML + Oracle : 한글 깨짐 현상  (0) 2011.04.08
XML - xml 생성 프로그램 초간단~  (0) 2011.04.07
Comments