163 lines
No EOL
6.5 KiB
HTML
163 lines
No EOL
6.5 KiB
HTML
<html>
|
|
<head>
|
|
<title>RFC 7231 - 400 Bad Request</title>
|
|
<style type="text/css">
|
|
@media only screen
|
|
and (min-width: 992px)
|
|
and (max-width: 1199px) {
|
|
body { font-size: 14pt; }
|
|
div.content { width: 96ex; margin: 0 auto; }
|
|
}
|
|
@media only screen
|
|
and (min-width: 768px)
|
|
and (max-width: 991px) {
|
|
body { font-size: 14pt; }
|
|
div.content { width: 96ex; margin: 0 auto; }
|
|
}
|
|
@media only screen
|
|
and (min-width: 480px)
|
|
and (max-width: 767px) {
|
|
body { font-size: 11pt; }
|
|
div.content { width: 96ex; margin: 0 auto; }
|
|
}
|
|
@media only screen
|
|
and (max-width: 479px) {
|
|
body { font-size: 8pt; }
|
|
div.content { width: 96ex; margin: 0 auto; }
|
|
}
|
|
@media only screen
|
|
and (min-device-width : 375px)
|
|
and (max-device-width : 667px) {
|
|
body { font-size: 9.5pt; }
|
|
div.content { width: 96ex; margin: 0; }
|
|
}
|
|
@media only screen
|
|
and (min-device-width: 1200px) {
|
|
body { font-size: 10pt; margin: 0 4em; }
|
|
div.content { width: 96ex; margin: 0; }
|
|
}
|
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|
font-weight: bold;
|
|
/* line-height: 0pt; */
|
|
display: inline;
|
|
white-space: pre;
|
|
font-family: monospace;
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
}
|
|
pre {
|
|
font-size: 1em;
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
}
|
|
.pre {
|
|
white-space: pre;
|
|
font-family: monospace;
|
|
}
|
|
.header{
|
|
font-weight: bold;
|
|
}
|
|
.newpage {
|
|
page-break-before: always;
|
|
}
|
|
.invisible {
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
a.selflink {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
@media print {
|
|
body {
|
|
font-family: monospace;
|
|
font-size: 10.5pt;
|
|
}
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.noprint {
|
|
display: none;
|
|
}
|
|
}
|
|
@media screen {
|
|
.grey, .grey a:link, .grey a:visited {
|
|
color: #777;
|
|
}
|
|
.docinfo {
|
|
background-color: #EEE;
|
|
}
|
|
.top {
|
|
border-top: 7px solid #EEE;
|
|
}
|
|
.pad {
|
|
padding-top: 7px;
|
|
line-height: 24px;
|
|
padding-bottom: 4px;
|
|
}
|
|
.bgwhite { background-color: white; }
|
|
.bgred { background-color: #F44; }
|
|
.bggrey { background-color: #666; }
|
|
.bgbrown { background-color: #840; }
|
|
.bgorange { background-color: #FA0; }
|
|
.bgyellow { background-color: #EE0; }
|
|
.bgmagenta{ background-color: #F4F; }
|
|
.bgblue { background-color: #66F; }
|
|
.bgcyan { background-color: #4DD; }
|
|
.bggreen { background-color: #4F4; }
|
|
|
|
.legend { font-size: 90%; }
|
|
.cplate { font-size: 70%; border: solid grey 1px; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<span class="pre noprint docinfo top">[<a href="https://tools.ietf.org/html" title="Document search and retrieval page">Docs</a>] [<a href="https://tools.ietf.org/rfc/rfc7231.txt" title="Plaintext version of this document">txt</a>|<a href="https://tools.ietf.org/pdf/rfc7231" title="PDF version of this document">pdf</a>] [<a href="https://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics" title="draft-ietf-httpbis-p2-semantics">draft-ietf-http...</a>] [<a href='https://datatracker.ietf.org/doc/rfc7231' title='IESG Datatracker information for this document'>Tracker</a>] [<a href="https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=rfc7231" title="Inline diff (wdiff)">Diff1</a>] [<a href="https://tools.ietf.org/rfcdiff?url2=rfc7231" title="Side-by-side diff">Diff2</a>] [<a href="https://www.rfc-editor.org/errata_search.php?rfc=7231">Errata</a>]</span><br />
|
|
<span class="pre noprint docinfo"> </span><br />
|
|
<span class="pre noprint docinfo"> PROPOSED STANDARD</span><br />
|
|
<span class="pre noprint docinfo"> <span style='color: #C00;'>Errata Exist</span></span><br />
|
|
<pre>
|
|
Internet Engineering Task Force (IETF) R. Fielding, Ed.
|
|
Request for Comments: 7231 Adobe
|
|
Obsoletes: <a href="https://tools.ietf.org/html/rfc2616">2616</a> J. Reschke, Ed.
|
|
Updates: <a href="https://tools.ietf.org/html/rfc2817">2817</a> greenbytes
|
|
Category: Standards Track June 2014
|
|
ISSN: 2070-1721
|
|
|
|
|
|
<span class="h1">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</span>
|
|
|
|
Abstract
|
|
|
|
The Hypertext Transfer Protocol (HTTP) is a stateless application-
|
|
level protocol for distributed, collaborative, hypertext information
|
|
systems. This document defines the semantics of HTTP/1.1 messages,
|
|
as expressed by request methods, request header fields, response
|
|
status codes, and response header fields, along with the payload of
|
|
messages (metadata and body content) and mechanisms for content
|
|
negotiation.
|
|
|
|
<hr class='noprint' style='width: 96ex;' align='left'/><!--NewPage--><pre class='newpage'><a name="page-58" id="page-58" href="#page-58" class="invisible"> </a>
|
|
<span class="grey"><a href="https://tools.ietf.org/html/rfc7231">RFC 7231</a> HTTP/1.1 Semantics and Content June 2014</span>
|
|
|
|
|
|
<span class="h4"><a class="selflink" name="section-6.5.1" href="https://tools.ietf.org/html/rfc7231#section-6.5.1">6.5.1</a>. 400 Bad Request</span>
|
|
|
|
The 400 (Bad Request) status code indicates that the server cannot or
|
|
will not process the request due to something that is perceived to be
|
|
a client error (e.g., malformed request syntax, invalid request
|
|
message framing, or deceptive request routing).
|
|
|
|
|
|
|
|
|
|
<span class="grey">Fielding & Reschke Standards Track [Page 58]</span></pre>
|
|
<hr class='noprint' style='width: 96ex;' align='left'/><!--NewPage--><pre class='newpage'><a name="page-59" id="page-59" href="#page-59" class="invisible"> </a>
|
|
</pre>
|
|
</body>
|
|
</html> |