MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / header

Method header

flow-plugins/src/utils/multipart.rs:48–50  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46 }
47
48 pub fn header(&self) -> Mime {
49 Mime::from_str(format!("multipart/form-data; boundary={}", self.boundary).as_str()).unwrap()
50 }
51}
52
53impl<W: std::io::Write> MultipartWriter<W> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected