fn bust_header_cache(&mut self, name: &UncasedStr, replace: bool) {
        if name == "Content-Type" {
            if self.content_type().is_none() || replace {
                self.state.content_type = Storage::new();
            }
        } else if name == "Accept" {
            if self.accept().is_none() || replace {
                self.state.accept = Storage::new();
            }
        }
    }
/// Resets the cached value (if any) for the header with name `name`.
Resets the cached value (if any) for the header with name `name`.
Resets the cached value ( if any ) for the header with name ` name ` .
fn bust_header_cache(&mut self, name: &UncasedStr, replace: bool) {
        if name == "Content-Type" {
            if self.content_type().is_none() || replace {
                self.state.content_type = Storage::new();
            }
        } else if name == "Accept" {
            if self.accept().is_none() || replace {
                self.state.accept = Storage::new();
            }
        }
    }
fn bust_header_cache ( & mut self , name : & UncasedStr , replace : bool ) { if name == " " { if self . content_type ( ) . is_none ( ) || replace { self . state . content_type = Storage :: new ( ) ; } } else if name == " " { if self . accept ( ) . is_none ( ) || replace { self . state . accept = Storage :: new ( ) ; } } }
Resets the cached value (if any) for the header with name `name`.
Resets the cached value ( if any ) for the header with name ` name ` .
&mut self
name
&UncasedStr
replace
bool
&mut self
name
&UncasedStr
replace
bool