您的位置:首页 > 理论基础 > 计算机网络

摘要:HTTP和FTP返回值大全(英文)

2008-09-27 15:22 246 查看
HTTP<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

1xx - Informational

These status codes indicate a provisional response. The client should be prepared to receive one or more 1xx responses before receiving a regular response.

l  100 - Continue.

l  101 - Switching protocols.

2xx - Success

This class of status codes indicates that the server successfully accepted the client request.

l  200 - OK.

l  201 - Created.

l  202 - Accepted.

l  203 - Non-authoritative information.

l  204 - No content.

l  205 - Reset content.

l  206 - Partial content.

3xx - Redirection

The client browser must take more action to fulfill the request. For example, the browser may have to request a different page on the server or repeat the request by using a proxy server.

l  301 - Moved Permanently

l  302 - Object moved.

l  304 - Not modified.

l  307 - Temporary redirect.

4xx - Client Error

An error occurs, and the client appears to be at fault. For example, the client may request a page that does not exist, or the client may not provide valid authentication information.

l  400 - Bad request.

l  401 - Access denied.

n  401.1 - Logon failed.

n  401.2 - Logon failed due to server configuration.

n  401.3 - Unauthorized due to ACL on resource.

n  401.4 - Authorization failed by filter.

n  401.5 - Authorization failed by ISAPI/CGI application.

n  401.7 – Access denied by URL authorization policy on the Web server.

l  403 - Forbidden.

n  403.1 - Execute access forbidden.

n  403.2 - Read access forbidden.

n  403.3 - Write access forbidden.

n  403.4 - SSL required.

n  403.5 - SSL 128 required.

n  403.6 - IP address rejected.

n  403.7 - Client certificate required.

n  403.8 - Site access denied.

n  403.9 - Too many users.

n  403.10 - Invalid configuration.

n  403.11 - Password change.

n  403.12 - Mapper denied access.

n  403.13 - Client certificate revoked.

n  403.14 - Directory listing denied.

n  403.15 - Client Access Licenses exceeded.

n  403.16 - Client certificate is untrusted or invalid.

n  403.17 - Client certificate has expired or is not yet valid.

n  403.18 - Cannot execute requested URL in the current application pool.

n  403.19 - Cannot execute CGIs for the client in this application pool.

n  403.20 - Passport logon failed.

l  404 - Not found.

n  404.0 - File or directory not found.

n  404.1 - Web site not accessible on the requested port.

n  404.2 - Web service extension lockdown policy prevents this request.

n  404.3 - MIME map policy prevents this request.

l  405 - HTTP verb used to access this page is not allowed (method not allowed.)

l  406 - Client browser does not accept the MIME type of the requested page.

l  407 - Proxy authentication required.

l  412 - Precondition failed.

l  413 – Request entity too large.

l  414 - Request-URI too long.

l  415 – Unsupported media type.

l  416 – Requested range not satisfiable.

l  417 – Execution failed.

l  423 – Locked error.

5xx - Server Error

The server cannot complete the request because it encounters an error.

l  500 - Internal server error.

n  500.12 - Application is busy restarting on the Web server.

n  500.13 - Web server is too busy.

n  500.15 - Direct requests for Global.asa are not allowed.

n  500.16 – UNC authorization credentials incorrect.

n  500.18 – URL authorization store cannot be opened.

n  500.100 - Internal ASP error.

l  501 - Header values specify a configuration that is not implemented.

l  502 - Web server received an invalid response while acting as a gateway or proxy.

n  502.1 - CGI application timeout.

n  502.2 - Error in CGI application.

l  503 - Service unavailable.

l  504 - Gateway timeout.

l  505 - HTTP version not supported.

FTP

1xx - Positive Preliminary Reply

These status codes indicate that an action has started successfully, but the client expects another reply before it continues with a new command.

l  110 - Restart marker reply.

l  120 - Service ready in nnn minutes.

l  125 - Data connection already open; transfer starting.

l  150 - File status okay; about to open data connection.

2xx - Positive Completion Reply

An action has successfully completed. The client can execute a new command.

l  200 - Command okay.

l  202 - Command not implemented, superfluous at this site.

l  211 - System status, or system help reply.

l  212 - Directory status.

l  213 - File status.

l  214 - Help message.

l  215 - NAME system type, where NAME is an official system name from the list in the Assigned Numbers document.

l  220 - Service ready for new user.

l  221 - Service closing control connection. Logged out if appropriate.

l  225 - Data connection open; no transfer in progress.

l  226 - Closing data connection. Requested file action successful.

l  227 - Entering passive mode (h1,h2,h3,h4,p1,p2).

l  230 - User logged in, proceed.

l  250 - Requested file action okay, completed.

l  257 - "PATHNAME" created.

3xx - Positive Intermediate Reply

The command was successful, but the server needs additional information from the client to complete processing the request.

l  331 - User name okay, need password.

l  332 - Need account for login.

l  350 - Requested file action pending further information.

4xx - Transient Negative Completion Reply

The command was not successful, but the error is temporary. If the client retries the command, it may succeed.

l  421 - Service not available, closing control connection. This may be a reply to any command if the service knows it must shut down.

l  425 - Cannot open data connection.

l  426 - Connection closed; transfer aborted.

l  450 - Requested file action not taken. File unavailable.

l  451 - Requested action aborted: Local error in processing.

l  452 - Requested action not taken. Insufficient storage space in system.

5xx - Permanent Negative Completion Reply

The command was not successful, and the error is permanent. If the client retries the command, it receives the same error.

l  500 - Syntax error, command unrecognized. This may include errors such as command line too long.

l  501 - Syntax error in parameters or arguments.

l  502 - Command not implemented.

l  503 - Bad sequence of commands.

l  504 - Command not implemented for that parameter.

l  530 - Not logged in.

l  532 - Need account for storing files.

l  550 - Requested action not taken. File unavailable.

l  551 - Requested action aborted: Page type unknown.

l  552 - Requested file action aborted. Exceeded storage allocation (for current directory or dataset).

l  553 - Requested action not taken. File name not allowed.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: