Note that there are some explanatory texts on larger screens.

plurals
  1. POHyperlinks in the body of a 303 response
    primarykey
    data
    text
    <p>When doing 303 redirects after a POST, <a href="http://tools.ietf.org/html/rfc2616#section-10.3.4" rel="nofollow">RFC 2616</a> mentions adding a hyperlink in the body of the response (i.e. the POST's 303 response body, not the response of the subsequent GET on newly created resource).</p> <blockquote> <p>10.3.4 303 See Other</p> <p>The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. The new URI is not a substitute reference for the originally requested resource. The 303 response MUST NOT be cached, but the response to the second (redirected) request might be cacheable.</p> <p>The different URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, <strong>the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).</strong></p> </blockquote> <p>I have two questions about this:</p> <ol> <li><p>Are there any implementations (browsers or otherwise) that make use of such a link in the body of a 303?</p></li> <li><p>If adding a link to the body, what would the most appropriate link relationship be? <code>rel="self"</code>, <code>rel="alternate"</code> ? Neither seems totally appropriate. I realize there may not be a standard link relation for something like this, and if that is the case, so be it.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload