pub fn from_method_response(rp: MethodResponse) -> HttpResponse
Create a response from a method response.