Haven't tested it, but to me it seems as if the render method work on the input response itself instead of cloning it (as described here).
Response objects are immutable which means that the call to render() won’t update the response object; instead it will return us a new object which is why it needs to be captured like this. This is always true when you operate on the response object.
Haven't tested it, but to me it seems as if the
render
method work on the input response itself instead of cloning it (as described here).