* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #347: 347.diff

File 347.diff, 2.0 KB (added by julian.reschke@gmx.de, 2 years ago)

Proposed patch

  • p2-semantics.xml

     
    13761376  <iref primary="true" item="201 Created (status code)" x:for-anchor=""/> 
    13771377  <iref primary="true" item="Status Codes" subitem="201 Created" x:for-anchor=""/> 
    13781378<t> 
    1379    The request has been fulfilled and has resulted in a new resource being 
    1380    created.  
     1379   The request has been fulfilled and has resulted in one or more new resources 
     1380   being created.  
    13811381</t> 
    13821382<t> 
    1383    The newly created resource is typically linked to from the response payload, 
     1383   The newly created resources are typically linked to from the response payload, 
    13841384   with the most relevant URI also being carried in the Location header field. 
    13851385   If the newly created resource's URI is the same as the Effective Request URI, 
    13861386   this information can be omitted (e.g., in the case of a response to a PUT 
    13871387   request).   
    13881388</t> 
    13891389<t> 
    1390    The origin server &MUST; create the resource before returning the 201 status 
     1390   The origin server &MUST; create the resource(s) before returning the 201 status 
    13911391   code. If the action cannot be carried out immediately, the server &SHOULD; 
    13921392   respond with 202 (Accepted) response instead. 
    13931393</t> 
    13941394<t> 
    13951395   A 201 response &MAY; contain an ETag response header field indicating 
    13961396   the current value of the entity-tag for the representation of the resource 
    1397    just created (see &header-etag;). 
     1397   identified by the Location header field or, in case the Location header 
     1398   field was omitted, by the Effective Request URI (see &header-etag;). 
    13981399</t> 
    13991400</section> 
    14001401 
     
    67716772      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/312"/>: 
    67726773      "should there be a permanent variant of 307" 
    67736774    </t> 
     6775    <t> 
     6776      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/347"/>: 
     6777      "clarify that 201 can imply *multiple* resources were created" 
     6778    </t> 
    67746779  </list> 
    67756780</t> 
    67766781</section>