Function create_response

fn create_response(request: &Request) -> Result<Response>

Create a response for the request.