Allowing 201 responses with content

With these changes, one can return a location header and content in a response with status code 201 Created. This fixes issue #435.

See also pull request #436.