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