emicklei/mora — pull request #19 by crackcomm (2013-10-06 17:17:20+00:00)
Title: The correct location of the document for every route.

It works with both `/docs/alias/db/col` (when creating) and `/docs/alias/db/col/id` (when updating or creating) now.

It fixed location of modified object in `Content-Location` header when document was updated with `putDocument` operation.

> Request Url: http://127.0.0.1:8181/docs/local/use1/webservices/52519954b734f9036c000001
> Request Method: PUT

> Status Code: 201
> ...
> Content-Location: /docs/local/use1/webservices/52519954b734f9036c000001/52519954b734f9036c000001