pub fn with_headers(mut self, headers: &HashMap<String, String>) -> Request {
        for (k, v) in headers.iter() {
            self.headers.insert(k.to_string(), v.to_string());
        }
        self
    }
/// Adds headers to the request.
Adds headers to the request.
Adds headers to the request .
pub fn with_headers(mut self, headers: &HashMap<String, String>) -> Request {
        for (k, v) in headers.iter() {
            self.headers.insert(k.to_string(), v.to_string());
        }
        self
    }
pub fn with_headers ( mut self , headers : & HashMap < String , String > ) -> Request { for ( k , v ) in headers . iter ( ) { self . headers . insert ( k . to_string ( ) , v . to_string ( ) ) ; } self }
Adds headers to the request.
Adds headers to the request .
mut self
headers
&HashMap<String, String>