pub(crate) fn rewrite_method(req: RequestMutRef<'a>, method: Method) -> Self {
        RequestProxy {
            other: req,
            path: None, // Defer to original request
            method: Some(method),
        }
    }
/// Wrap a request and overwrite the method with the provided value.
Wrap a request and overwrite the method with the provided value.
Wrap a request and overwrite the method with the provided value .
pub(crate) fn rewrite_method(req: RequestMutRef<'a>, method: Method) -> Self {
        RequestProxy {
            other: req,
            path: None, // Defer to original request
            method: Some(method),
        }
    }
pub ( crate ) fn rewrite_method ( req : RequestMutRef < ' a > , method : Method ) -> Self { RequestProxy { other : req , path : None , // Defer to original request method : Some ( method ) , } }
Wrap a request and overwrite the method with the provided value.
Wrap a request and overwrite the method with the provided value .
req
RequestMutRef<'a>
method
Method