Home
last modified time | relevance | path

Searched refs:headers_mut (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
H A Dmulti.rs163 Ok(self.headers_mut()) in insert_header()
178 Ok(self.headers_mut()) in append_header()
197 Ok(self.headers_mut()) in set_content_type()
233 pub fn headers_mut(&mut self) -> &mut Headers { in headers_mut() method
H A Dpart.rs87 Ok(self.headers_mut()) in header()
102 Ok(self.headers_mut()) in append_header()
173 pub fn headers_mut(&mut self) -> &mut Headers { in headers_mut() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dredirect.rs49 let _ = request.headers_mut().remove(header_name); in redirect()
88 let _ = request.headers_mut().remove(header_name); in redirect()
H A Dnormalizer.rs45 if self.part.headers_mut().get("Accept").is_none() { in format()
46 let _ = self.part.headers_mut().insert("Accept", "*/*"); in format()
51 .headers_mut() in format()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/
H A Dmod.rs366 pub fn headers_mut(&mut self) -> &mut Headers { in headers_mut() method
766 let _ = request.headers_mut().insert("accept", "application/xml"); in ut_request_builder_build_2()