fn auth_lang_mock<P>(client: &Client, method: &str, path: P) -> Mock
where
    P: Into<Matcher>,
{
    auth_mock(&client, method, path).match_header("accept-language", client.lang_abbr.as_str())
}
/// HTTP mock with authorization and language headers.
HTTP mock with authorization and language headers.
HTTP mock with authorization and language headers .
fn auth_lang_mock<P>(client: &Client, method: &str, path: P) -> Mock
where
    P: Into<Matcher>,
{
    auth_mock(&client, method, path).match_header("accept-language", client.lang_abbr.as_str())
}
fn auth_lang_mock < P > ( client : & Client , method : & str , path : P ) -> Mock where P : Into < Matcher > , { auth_mock ( & client , method , path ) . match_header ( " " , client . lang_abbr . as_str ( ) ) }
HTTP mock with authorization and language headers.
HTTP mock with authorization and language headers .
client
&Client
method
&str
path
P
client
&Client
method
&str
path
P