11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10.1.2 101 Switching ProtocolsThe server understands and is willing to comply with the client'srequest, via the Upgrade message header field (section 14.42), <strong>for</strong> achange in the application protocol being used on this connection. Theserver will switch protocols to those defined by the response'sUpgrade header field immediately after the empty line whichterminates the 101 response.The protocol SHOULD be switched only when it is advantageous to doso. For example, switching to a newer version of HTTP is advantageousover older versions, and switching to a real-time, synchronousprotocol might be advantageous when delivering resources that usesuch features.10.2 Successful 2xxThis class of status code indicates that the client's request wassuccessfully received, understood, and accepted.10.2.1 200 OKThe request has succeeded. The in<strong>for</strong>mation returned with the responseis dependent on the method used in the request, <strong>for</strong> example:GETan entity corresponding to the requested resource is sent inthe response;HEAD the entity-header fields corresponding to the requestedresource are sent in the response without any message-body;POST an entity describing or containing the result of the action;<strong>Fielding</strong>, et al. Standards Track [Page 58]RFC <strong>2616</strong> HTTP/1.1 June 1999TRACE an entity containing the request message as received by theend server.10.2.2 201 CreatedThe request has been fulfilled and resulted in a new resource beingcreated. The newly created resource can be referenced by the URI(s)returned in the entity of the response, with the most specific URI<strong>for</strong> the resource given by a Location header field. The response

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!