response.uri() to response.location(). Closes #1261