部分转自:
http://www.btinternet.com/~wildfire/reference/httpstatus/index.htm
当然了,j2ee API 上也有解释,可以随时查阅API
HTTP Status Messages are errors that web servers and web browsers generate. There are several types:
1XX Informational 保留
100 Continue
The server has received the beginning of the request and the client should continue.
101 Switching Protocols
Your computer has sent a request to the server to use a different protocol for the connection. The server responds that it is Ok to proceed with the change.
2xx: Successful 表示请求成功地接收
200 OK
The request by your browser succeeded.
201 Created
The request successfully resulted in the creation of an additional resource and the text line should indicate the URL by which it should be known.
202 Accepted
The 202 response is to allow a server to accept a request for some other process without requiring that the connection to the server persist until the process is completed.
203 Non-Authoritative Information
Basically a 200 response, but where returned data may be from another server than the one originally contacted.
204 No Content
Although the request was successful, there is no content to return. This is usually to permit additional input without a change to the user’s view.
205 Reset Content
Although the request was successful, content was not served. The server is awaiting further input from the user before proceeding.
206 Partial Content
This message might occur if a client has a partial copy of content in its cache and requests and update of missing content. This message indicates that the partial request succeeded.
3xx: Redirection 为完成请求客户需进一步细化请求
300 Multiple ChoicesThe requested resource (e.g., a URL) could be one of several. The user will be provided with a list of possible choices, or the server could automatically redirect.
301 Moved PermanentlyThe requested resource has moved to a new URL. A 410 status code is returned if the new address is unavailable or not to be revealed.
302 FoundThe requested resource has moved, but the browser is not automatically redirected. Instead the new URL should be presented to the user.
303 See Other
As with 302, the requested resource has moved, but if the request was a GET request, an automatic redirect by the browser is acceptable.
304 Not Modified
If a client has a partial copy of content in its cache and requests and update, but the document has not been modified since cached, the server responds with a 304 status code and does not send the content to the client. This allows updates of local cache information without fewer HTTP requests.
305 Use Proxy
The requested resource (e.g. web page) must be accessed through the URL of the proxy server in this message.
306 (Unused)
Not in use - Reserved
307 Temporary Redirect
As with 302 and 303, this code is for a moved resource. 303 and 307 were created as unambiguous alternatives to 302. 307 is a temporarily moved resource and thus the same URL should be continued to be used.
4xx: Client Error
400 Bad Request
The server did not understand your request. An improperly typed URL is usually the cause. If not that, there could be a problem with the document itself.
401 Unauthorized
This URL probably requires a username and password. Try submitting them again in case you made an error. If the password doesn't seem to work, contact the site administrator to resolve the problem.
402 Payment Required
This is intended to return acceptable payment options. Not presently used.
[b]403 Forbidden[/b]
You tried to access a URL for which you don't have permission. If you usually can access this document, there might be a problem with the server. If so, contact the site administrator.
404 Not Found
This is probably the most common status code. Your browser cannot locate the document corresponding to the URL you entered. An improperly typed URL is usually the cause. The document may also have been moved. If you cannot find it elsewhere on the site, it may have been permanently removed.
405 Method Not Allowed
You may be attempting to run a script that is not supported. Some ISPs do not allow scripts on their servers, which could result in this status code. For an explanation of methods in HTTP headers see this page of the HTTP/1.1 protocol
406 Not Acceptable
It’s possible you have requested a page that contains files which your browser has indicated to the server that it cannot accept, for example, a multimedia file that your browser cannot process. Your browser sends information about what files it can accept to the server (in the HTTP header) as part of a request. You might check the preferences settings of your browser to see if there are file types it is not accepting.
407 Proxy Authentication Required
There is a proxy server between your client and the server you are requesting the page from that requires a username and password.
408 Request Timeout
The request took longer than allowed to complete. Try the request again. If this error continues to appear, try waiting a few hours before repeating the request
409 ConflictConflicts are likely to occur where an inappropriate alteration of the resource is being attempted.
410 Gone
A 410 status code is returned if the new address is altogether unavailable or the server admin does not want to reveal it.
411 Length Required
Your client did not define the length of the requested content in the request header.
412 Precondition FailedThe header of the request specified information about acceptable files that is not applicable to the requested file.
413 Request Entity Too Large
The content of the request is more than the server can process. The request may have included a message body, which is not always permissible.
414 Request-URL Too Long
Since a POST request allows for an unlimited amount of data to be sent to a server by tagging it on to the request, if the request were converted to a GET request this error could result. Additionally, since a GET request allows for appending of search or form data in the header, the URL created could be longer than acceptable.
415 Unsupported Media TypeThere may have been an error in the MIME type indicated in the request header, i.e., your browser might have requested an image file, when in fact the requested file is an application.
416 Requested Range Not SatisfiableYour browser, which sends information on acceptable file size as part of its request, may have requested a file that does not fit these parameters. See the HTTP protocol for more information.
417 Expectation Failed
The Expect request-header field is used to indicate that particular server behaviors are required by the client. The server could not execute these expectations.
5xx: Server Error
500 Internal Server Error
There is an internal server error on the site you are trying to contact. Unfortunately, there's nothing you can do other than contact the site administrator.
501 Not ImplementedYou’ve asked the server to do something it can't. The server in question may need to be upgraded.
502 Bad Gateway
The server you contacted for a document had to contact another server to obtain it. The server you first contacted received an error from the second server.
503 Service Unavailable
The server you're trying to access is over tasked at the moment and it can't process your request. The server may be down for maintenance, or there may just be too many users on the site at the moment.
504 Gateway TimeoutYour modem or Internet connection has just hung up on you. There are several possible reasons for this. The most likely is that your connection has been inactive longer than allowed (the time limit will usually be set by your ISP). It could also be a server or network problem.
505 HTTP Version Not SupportedYour browser may have made a request using HTTP 1.1, whereas the server you made the request to supports only up to HTTP 1.0. This may occur when a proxy server sends along a request with a different version number.
分享到:
相关推荐
RFC1049 - A CONTENT-TYPE HEADER FIELD FOR INTERNET MESSAGES RFC1050 - RPC: Remote Procedure Call RFC1051 - A Standard for the Transmission of IP Datagrams RFC1052 - IAB Recommendations for the ...
status, messages = mail.search(None, 'UNSEEN') messages = messages[0].split(b' ') # 遍历邮件并打印主题 for msg_id in messages: typ, data = mail.fetch(msg_id, '(RFC822)') email_content = data[0][1]....
Can AutoDetect Phone call charges from the time and date.<END><br>18 , tlsNet.zip TILISOFT Internet ActiveX Controls - Retrieve HTML pages from the Net - Post data to HTTP server <END><br>19 , ...
status, messages = imap.search(None, 'ALL') # 搜索所有邮件 messages = messages[0].split(b' ') # 遍历邮件 for msg_id in messages: status, data = imap.fetch(msg_id, '(RFC822)') raw_email = data[0][1]...
Xinetd提供了一些工具和选项用于调试和维护,例如,可以使用`service xinetd status`检查服务状态,`service xinetd restart`重启服务,以及`tail -f /var/log/messages`实时查看日志,帮助诊断和解决问题。...
Added support for the Internet Explorer-like new tab in CBCGPTabWnd class (see screenshot). Call EnableNewTab method to enable this feature. Please take a look BCGPIE7Demo example to see this feature ...
- **验证配置**:使用`named-checkzone`命令检查区域文件的正确性,并通过`named status`、`host`、`nslookup`和`dig`命令测试DNS服务器的功能。 3. **辅助DNS服务器配置** - **安装和复制root提示文件**:辅助...
javax.enterprise.deploy.spi.status Provides J2EE Product Vendor deployment status implementation classes. javax.faces Top level classes for the JavaServer(tm) Faces API. javax.faces.application APIs...
Online Certificate Status Protocol 146 6. Implementation Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
23. The five layers in the Internet protocol stack are – from top to bottom – the application layer, the transport layer, the network layer, the link layer, and the physical layer. The principal ...
Tool Tip, Tool Bar and Status Bar Controls Tab Controls Handling Selections Setting Drawing Parameters Control-based Views The Rich Text Edit Control Character Formatting Paragraph Formatting ...
而IMAP(Internet Message Access Protocol)则允许用户在邮件服务器上管理和查看邮件,无需将其下载到本地,更适合需要多设备同步的场景。Lumisoft.NET库为这两种协议提供了简单易用的API。 1. **POP3邮件接收**:...
ntpd(Network Time Protocol Daemon)是用于在计算机网络中同步时间的守护进程,它通过Internet上的NTP协议来实现精确的时间同步。这个“ntpd同步时间rpm包”显然是一个专门为Linux系统提供的软件包,用于安装和...
确保DHCP服务器的安全性至关重要,应限制其只对特定网络接口提供服务,并定期检查日志文件(如`/var/log/syslog`或`/var/log/messages`)以发现任何异常活动。在遇到问题时,可以使用`tcpdump`工具监控网络流量,或...
1. **主配置文件**:RHEL6中的DNS主要使用 BIND(Berkeley Internet Name Domain)服务,其配置文件位于`/etc/named.conf`。这个文件定义了DNS服务器的行为、区域数据的源以及哪些网络可以查询该服务器。 2. **区域...
Status是指目前ICQ 的使用 模式,第一个是上线,第二是 暂时离开(上厕所、吃饭等), 第三是请勿打扰(Do not Dist urb)(此时messages或其他req uest ICQ 会自动拒绝对方), 第四是隐身术,此时就算是您 上线,网友也...
BIND(Berkeley Internet Name Domain)是目前使用最广泛的DNS服务器软件之一,可以实现域名解析服务。 #### 三、安装BIND 首先需要下载BIND的源码包,然后解压并进入相应目录进行编译安装: 1. **下载与解压BIND...
PEP 476: Enabling certificate verification by default for stdlib http clients What’s New In Python 3.3 Summary – Release highlights PEP 405: Virtual Environments PEP 420: Implicit Namespace ...
<uses-permission android:name="android.permission.INTERNET" /> ``` 接下来,我们需要在应用程序中初始化TextToSpeech对象,并设置语言和语速等参数: ```java TextToSpeech tts = new TextToSpeech(context, ...