📄 ref_httpmessages.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTTP Messages</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<link rel="stylesheet" type="text/css" href="../stdtheme.css" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<a name="top"></a>
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#808080">
<tr>
<td width="234" valign="top">
<a href="../default.htm"><img src="../images/w3default80.jpg" border="0" alt="W3Schools" /></a>
</td>
<th valign="middle" align="left" class="right">
<iframe style="background-color:#808080" src="../banners/bannerframe.asp@adpartner=xmlmaster" height="90" width="728"
marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<br /></th>
</tr>
</table>
<table style="margin-left:1px" width="800px" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="137" class="content" valign="top"><br />
<a class="left" href="../default.asp" target="_top">
<img src="../images/homeicon.gif" border="0" alt="home" /></a>
<a class="left" href="../default.asp" target="_top">
<b>HOME</b></a>
<br /><br />
<b>HTML and XHTML<br />Full References</b><br /><br />
<a class="left" target="_top" href="default.asp" >HTML by Alphabet</a><br />
<a class="left" target="_top" href="ref_byfunc.asp" >HTML by Function</a><br />
<a class="left" target="_top" href="ref_standardattributes.asp" >HTML Attributes</a><br />
<a class="left" target="_top" href="ref_eventattributes.asp" >HTML Events</a><br />
<a class="left" target="_top" href="ref_colornames.asp" >HTML Colornames</a><br />
<a class="left" target="_top" href="ref_ascii.asp" >HTML ASCII</a><br />
<a class="left" target="_top" href="ref_entities.asp" >HTML Latin-1</a><br />
<a class="left" target="_top" href="ref_symbols.asp" >HTML Symbols</a><br />
<a class="left" target="_top" href="ref_urlencode.asp" >HTML URL Encode</a><br />
<a class="left" target="_top" href="ref_httpmessages.asp" style='font-weight:bold;'>HTTP Messages</a><br /><br />
<b>Selected Reading</b><br />
<a class="left" target="_top" href="../browsers/browsers_stats.asp">Web Statistics</a><br />
<a class="left" target="_top" href="../site/site_glossary.asp">Web Glossary</a><br />
<a class="left" target="_top" href="../hosting/default.asp">Web Hosting</a><br />
<a class="left" target="_top" href="../quality/default.asp">Web Quality</a><br /><br />
<a class="left" target="_top" href="../forum/default.asp">W3Schools Forum</a><br /><br />
<a class="left" target="_top" href="../about/about_helping.asp">Helping W3Schools</a><br /><br />
<script type="text/javascript"><!--
google_ad_client = "pub-3440800076797949";
/*LeftLinkUnit*/
google_ad_slot = "4854527104";
google_ad_width = 120;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td valign="top">
<table style="border: 1px solid gray" width="100%" bgcolor="#FFFFFF" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>
<h1>HTTP Status Messages</h1>
<a href="ref_urlencode.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="default.asp"> <img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />
<p class="intro">When a browser requests a service from a web server, an error might occur.</p>
<p class="intro">This is a list of HTTP status messages that might be returned:</p>
<hr />
<p><b>1xx: Information</b></p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
<tr>
<th align="left" width="40%">Message:</th>
<th align="left" width="60%">Description:</th>
</tr>
<tr>
<td valign="top">100 Continue</td>
<td valign="top"> Only a part
of the request has been received by the server, but as long as it has not
been rejected, the client should continue with the request</td>
</tr>
<tr>
<td valign="top">101 Switching Protocols</td>
<td valign="top">The server switches protocol
</td>
</tr>
</table>
<p><b>2xx: Successful</b></p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
<tr>
<th align="left" width="40%">Message:</th>
<th align="left" width="60%">Description:</th>
</tr>
<tr>
<td valign="top">200 OK</td>
<td valign="top">The request is OK</td>
</tr>
<tr>
<td valign="top">201 Created</td>
<td valign="top">The request is complete, and a new resource is
created
</td>
</tr>
<tr>
<td valign="top">202 Accepted</td>
<td valign="top">The request is accepted for processing, but the processing
is not complete
</td>
</tr>
<tr>
<td valign="top">203 Non-authoritative Information</td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top">204 No Content</td>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top">205 Reset Content</td>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top">206 Partial Content</td>
<td valign="top">
</td>
</tr>
</table>
<p><b>3xx: Redirection</b></p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
<tr>
<th align="left" width="40%">Message:</th>
<th align="left" width="60%">Description:</th>
</tr>
<tr>
<td valign="top">300 Multiple Choices</td>
<td valign="top">A link list. The user can select a link and go to that
location. Maximum five addresses </td>
</tr>
<tr>
<td valign="top">301 Moved Permanently</td>
<td valign="top">The requested page has moved to a new url
</td>
</tr>
<tr>
<td valign="top">302 Found</td>
<td valign="top">The requested page has moved temporarily to a new url
</td>
</tr>
<tr>
<td valign="top">303 See Other</td>
<td valign="top">The requested page can be found under a different url
</td>
</tr>
<tr>
<td valign="top">304 Not Modified</td>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top">305 Use Proxy</td>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top">306 <i>Unused</i></td>
<td valign="top">This code was used in a previous version. It is no longer
used, but the code is reserved
</td>
</tr>
<tr>
<td valign="top">307 Temporary Redirect</td>
<td valign="top">The requested page has moved temporarily to a new url
</td>
</tr>
</table>
<p><b>4xx: Client Error</b></p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
<tr>
<th align="left" width="40%">Message:</th>
<th align="left" width="60%">Description:</th>
</tr>
<tr>
<td valign="top">400 Bad Request</td>
<td valign="top">The server did not understand the request</td>
</tr>
<tr>
<td valign="top">401 Unauthorized</td>
<td valign="top">The requested page needs a username and a password
</td>
</tr>
<tr>
<td valign="top">402 Payment Required</td>
<td valign="top"><i>You can not use this code yet</i>
</td>
</tr>
<tr>
<td valign="top">403 Forbidden</td>
<td valign="top">Access is forbidden to the requested page
</td>
</tr>
<tr>
<td valign="top">404 Not Found</td>
<td valign="top">The server can not find the requested page
</td>
</tr>
<tr>
<td valign="top">405 Method Not Allowed</td>
<td valign="top">The method specified in the request is not allowed
</td>
</tr>
<tr>
<td valign="top">406 Not Acceptable</td>
<td valign="top">The server can only generate a response that is not
accepted by the client
</td>
</tr>
<tr>
<td valign="top">407 Proxy Authentication Required</td>
<td valign="top">You must authenticate with a proxy server before this
request can be served
</td>
</tr>
<tr>
<td valign="top">408 Request Timeout</td>
<td valign="top">The request took longer than the server was prepared to
wait
</td>
</tr>
<tr>
<td valign="top">409 Conflict</td>
<td valign="top">The request could not be completed because of a conflict
</td>
</tr>
<tr>
<td valign="top">410 Gone</td>
<td valign="top">The requested page is no longer available
</td>
</tr>
<tr>
<td valign="top">411 Length Required</td>
<td valign="top">The "Content-Length" is not defined. The server
will not accept the request without it
</td>
</tr>
<tr>
<td valign="top">412 Precondition Failed</td>
<td valign="top">The precondition given in the request evaluated to false by
the server
</td>
</tr>
<tr>
<td valign="top">413 Request Entity Too Large</td>
<td valign="top">The server will not accept the request, because the request entity is
too large
</td>
</tr>
<tr>
<td valign="top">414 Request-url Too Long</td>
<td valign="top">The server will not accept the request, because the url is
too long. Occurs when you convert a "post" request to a "get" request with
a long query information
</td>
</tr>
<tr>
<td valign="top">415 Unsupported Media Type</td>
<td valign="top">The server will not accept the request, because the media
type is not supported
</td>
</tr>
<tr>
<td valign="top">416 </td>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top">417 Expectation Failed</td>
<td valign="top">
</td>
</tr>
</table>
<p><b>5xx: Server Error</b></p>
<table class="ex" cellspacing="0" border="1" width="100%" cellpadding="3">
<tr>
<th align="left" width="40%">Message:</th>
<th align="left" width="60%">Description:</th>
</tr>
<tr>
<td valign="top">500 Internal Server Error</td>
<td valign="top">The request was not completed. The server met an unexpected condition</td>
</tr>
<tr>
<td valign="top">501 Not Implemented</td>
<td valign="top">The request was not completed. The server did not support
the functionality required
</td>
</tr>
<tr>
<td valign="top">502 Bad Gateway</td>
<td valign="top">The request was not completed. The server received an
invalid response from the upstream server
</td>
</tr>
<tr>
<td valign="top">503 Service Unavailable</td>
<td valign="top">The request was not completed. The server is temporarily
overloading or down
</td>
</tr>
<tr>
<td valign="top">504 Gateway Timeout</td>
<td valign="top">The gateway has timed out
</td>
</tr>
<tr>
<td valign="top">505 HTTP Version Not Supported</td>
<td valign="top">The server does not support the "http protocol" version
</td>
</tr>
</table>
<br />
<hr />
<a href="ref_urlencode.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="default.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />
<!-- **** SPOTLIGHTS 1 **** -->
<iframe src="../banners/aspallframe.asp" height="110" width="485"
marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<hr />
<!-- **** SPOTLIGHTS 2 **** -->
<h2><a target="_blank" href="../../www.altova.com/ref/@s=w3s_spotlight&q=xmlspy">
Altova
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -