Search results
Results from the WOW.Com Content Network
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 ...
Therefore, HTTP/1.1 added status codes 303 and 307 to distinguish between the two behaviours. [1]: §15.4 303 See Other (since HTTP/1.1) The response to the request can be found under another URI using the GET method. When received in response to a POST (or PUT/DELETE), the client should presume that the server has received the data and should ...
Under HTTP 1.0, connections should always be closed by the server after sending the response. [1]Since at least late 1995, [2] developers of popular products (browsers, web servers, etc.) using HTTP/1.0, started to add an unofficial extension (to the protocol) named "keep-alive" in order to allow the reuse of a connection for multiple requests/responses.
Such persistent connections reduce request latency perceptibly because the client does not need to re-negotiate the TCP 3-Way-Handshake connection after the first request has been sent. Another positive side effect is that, in general, the connection becomes faster with time due to TCP's slow-start -mechanism.
Diagram of a double POST problem encountered in user agents. Diagram of the double POST problem above being solved by PRG. Post/Redirect/Get (PRG) is a web development design pattern that lets the page shown after a form submission be reloaded, shared, or bookmarked without ill effects, such as submitting the form another time.
307 Temporary Redirect: Like 302, but guarantees that the method and the body will not be changed when the redirected request is made. 303 See Other : Used when the result of a POST or another non-idempotent request method is a resource that should be retrieved using a GET.
AOL latest headlines, entertainment, sports, articles for business, health and world news.
For an asynchronous request, set a listener that will be notified when the request's state changes: request . onreadystatechange = listener ; Initiate the request by calling the "send" method: