Search results
Results from the WOW.Com Content Network
The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made. [7] 208 Already Reported (WebDAV; RFC 5842) The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again.
The request/response message consists of the following: Request line, such as GET /logo.gif HTTP/1.1 or Status line, such as HTTP/1.1 200 OK, Headers; An empty line; Optional HTTP message body data; The request/status line and headers must all end with <CR><LF> (that is, a carriage return followed by a line feed).
The length of the request body in octets (8-bit bytes). Content-Length: 348: Permanent RFC 9110: Content-MD5: A Base64-encoded binary MD5 sum of the content of the request body. Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ== Obsolete [15] RFC 1544, 1864, 4021: Content-Type: The Media type of the body of the request (used with POST and PUT requests).
Each response header field has a defined meaning which can be further refined by the semantics of the request method or response status code. HTTP/1.1 example of request / response transaction Below is a sample HTTP transaction between an HTTP/1.1 client and an HTTP/1.1 server running on www.example.com , port 80.
The HTTP response status code 303 See Other is a way to redirect web applications to a new URI, particularly after a HTTP POST has been performed, since RFC 2616 (HTTP 1.1). According to RFC 7231, which obsoletes RFC 2616, "A 303 response to a GET request indicates that the origin server does not have a representation of the target resource ...
If a Transfer-Encoding field with a value of "chunked" is specified in an HTTP message (either a request sent by a client or the response from the server), the body of the message consists of one or more chunks and one terminating chunk with an optional trailer before the final ␍␊ sequence (i.e. carriage return followed by line feed).
The HTTP response status code 302 Found is a common way of performing URL redirection. The HTTP/1.0 specification (RFC 1945) initially defined this code, and gave it the description phrase "Moved Temporarily" rather than "Found". An HTTP response with this status code will additionally provide a URL in the header field Location.
Starting with HTML 4.0, forms can also submit data in multipart/form-data as defined in RFC 2388 (See also RFC 1867 for an earlier experimental version defined as an extension to HTML 2.0 and mentioned in HTML 3.2). The special case of a POST to the same page that the form belongs to is known as a postback.