pub fn finalize_request( url: Url, method: Method, headers: Headers, request_body: Option<Body>, ) -> Result<Request, Error>