Changeset 2095


Ignore:
Timestamp:
Jan 6, 2013, 11:15:43 PM (7 years ago)
Author:
fielding@…
Message:

do not overspecify which 3xx code might be used to redirect a PUT

Location:
draft-ietf-httpbis/latest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p2-semantics.html

    r2094 r2095  
    14841484         is intended to select a proper URI on behalf of the client, after receiving a state-changing request, <em class="bcp14">SHOULD</em> be implemented using the POST method rather than PUT. If the origin server will not make the requested PUT state change to
    14851485         the target resource and instead wishes to have it applied to a different resource, such as when the resource has been moved
    1486          to a different URI, then the origin server <em class="bcp14">MUST</em> send a <a href="#status.301" class="smpl">301 (Moved Permanently)</a> response; the user agent <em class="bcp14">MAY</em> then make its own decision regarding whether or not to redirect the request.
     1486         to a different URI, then the origin server <em class="bcp14">MUST</em> send an appropriate <a href="#status.3xx" class="smpl">3xx (Redirection)</a> response; the user agent <em class="bcp14">MAY</em> then make its own decision regarding whether or not to redirect the request.
    14871487      </p>
    14881488      <p id="rfc.section.4.3.4.p.9">A PUT request applied to the target resource <em class="bcp14">MAY</em> have side-effects on other resources. For example, an article might have a URI for identifying "the current version" (a resource)
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r2094 r2095  
    14511451   wishes to have it applied to a different resource, such as when the
    14521452   resource has been moved to a different URI, then the origin server
    1453    &MUST; send a <x:ref>301 (Moved Permanently)</x:ref> response; the user
    1454    agent &MAY; then make its own decision regarding whether or not to redirect
    1455    the request.
     1453   &MUST; send an appropriate <x:ref>3xx (Redirection)</x:ref> response;
     1454   the user agent &MAY; then make its own decision regarding whether or not to
     1455   redirect the request.
    14561456</t>
    14571457<t>
Note: See TracChangeset for help on using the changeset viewer.