Adds 201 response for PUT.

According to RFC2616: "If a new resource is created, the origin server MUST inform the user agent via the 201 (Created) response."