pub fn header<H: Header + HeaderFormat>(mut self, header: H) -> RequestBuilder<'a, U, C, S> {
        {
            let mut headers = match self.headers {
                Some(ref mut h) => h,
                None => {
                    self.headers = Some(Headers::new());
                    self.headers.as_mut().unwrap()
                }
            };

            headers.set(header);
        }
        self
    }
/// Add an individual new header to the request.
Add an individual new header to the request.
Add an individual new header to the request .
pub fn header<H: Header + HeaderFormat>(mut self, header: H) -> RequestBuilder<'a, U, C, S> {
        {
            let mut headers = match self.headers {
                Some(ref mut h) => h,
                None => {
                    self.headers = Some(Headers::new());
                    self.headers.as_mut().unwrap()
                }
            };
            headers.set(header);
        }
        self
    }
pub fn header < H : Header + HeaderFormat > ( mut self , header : H ) -> RequestBuilder < ' a , U , C , S > { { let mut headers = match self . headers { Some ( ref mut h ) => h , None => { self . headers = Some ( Headers :: new ( ) ) ; self . headers . as_mut ( ) . unwrap ( ) } } ; headers . set ( header ) ; } self }
Add an individual new header to the request.
Add an individual new header to the request .
mut self
header
H
mut self
header
H