/// Get a mutable reference to this request's `Headers`.
/// **Note:** they can only be modified if the request was created from scratch or cloned.
Get a mutable reference to this request's `Headers`.
Note:** they can only be modified if the request was created from scratch or cloned.
Get a mutable reference to this request ' s ` Headers ` . Note : ** they can only be modified if the request was created from scratch or cloned .
pub fn headers_mut(&mut self) -> Result<&mut Headers> {
        if self.immutable {
            return Err(Error::JsError(
                "Cannot get a mutable reference to an immutable headers object.".into(),
            ));
        }
        Ok(&mut self.headers)
    }
pub fn headers_mut ( & mut self ) -> Result < & mut Headers > { if self . immutable { return Err ( Error :: JsError ( " " . into ( ) , ) ) ; } Ok ( & mut self . headers ) }
Get a mutable reference to this request's `Headers`.
Get a mutable reference to this request ' s ` Headers ` .
&mut self