title: Proper RESTful response to POST and PUT on nested resources
body: <p>I'm designing a restful api, and trying to really do it right for the first time. </p>
  
  <p>I've defined some nested resources (comments in a blog post), and that choice mirrors the fact that comments are nested within the blog post document in mongo.</p>
  
  <p>I'm not interested in serving individual comments out of context, so I've deferred implementing GETs for the nested resources. However, it makes sense to implement POSTing to the comments collection, and PUTting to a comment uri.</p>
  
  <p>Specific questions:</p>
  
  <p>1) Does it make sense to respond to a POST with a 201 and a Location header set to the parent resource? If not, how do I communicate the parent location to inform navigation choices on the client?</p>
  
  <p>2) Similar question for PUT, how do I best communicate to the client that it should look to the parent resource to locate its update? (preferably without the client having to make assumptions about my uri scheme). Is the Location header reasonable on a 200?</p>