Searched refs:mime_type (Results 1 – 6 of 6) sorted by relevance
/tools/netsim/rust/daemon/src/http_server/ |
D | server_response.rs | 38 fn put_ok_with_length(&mut self, mime_type: &str, length: usize, headers: StrHeaders); in put_ok_with_length() 40 fn put_ok(&mut self, mime_type: &str, body: &str, headers: StrHeaders); in put_ok() 42 fn put_ok_with_vec(&mut self, mime_type: &str, body: Vec<u8>, headers: StrHeaders); in put_ok_with_vec() 105 fn put_ok_with_length(&mut self, mime_type: &str, length: usize, headers: StrHeaders) { in put_ok_with_length() 108 .header("Content-Type", HeaderValue::from_str(mime_type).unwrap()) in put_ok_with_length() 115 fn put_ok(&mut self, mime_type: &str, body: &str, headers: StrHeaders) { in put_ok() 116 let mut response = new_ok(mime_type, body.into()); in put_ok() 120 fn put_ok_with_vec(&mut self, mime_type: &str, body: Vec<u8>, headers: StrHeaders) { in put_ok_with_vec() 121 let mut response = new_ok(mime_type, body); in put_ok_with_vec()
|
/tools/netsim/rust/daemon/src/ |
D | ffi.rs | 349 fn put_ok_with_length(self: &CxxServerResponseWriter, mime_type: &CxxString, length: usize); in put_ok_with_length() 355 fn put_ok(self: &CxxServerResponseWriter, mime_type: &CxxString, body: &CxxString); in put_ok() 431 fn put_ok_with_length(&mut self, mime_type: &str, length: usize, _headers: StrHeaders) { in put_ok_with_length() 432 let_cxx_string!(mime_type = mime_type); in put_ok_with_length() 433 self.writer.put_ok_with_length(&mime_type, length); in put_ok_with_length() 438 fn put_ok(&mut self, mime_type: &str, body: &str, _headers: StrHeaders) { in put_ok() 439 let_cxx_string!(mime_type = mime_type); in put_ok() 441 self.writer.put_ok(&mime_type, &body); in put_ok()
|
/tools/netsim/src/frontend/ |
D | server_response_writable.h | 35 virtual void put_ok_with_length(const std::string &mime_type, 38 virtual void put_ok(const std::string &mime_type,
|
D | frontend_server.cc | 52 void put_ok_with_length(const std::string &mime_type, in put_ok_with_length() argument 64 void put_ok(const std::string &mime_type, in put_ok() argument
|
/tools/acloud/internal/lib/ |
D | gstorage_client.py | 78 def Upload(self, local_src, bucket_name, object_name, mime_type): argument 94 media = apiclient.http.MediaIoBaseUpload(upload_file, mime_type)
|
/tools/acloud/public/ |
D | device_driver.py | 146 mime_type=self._cfg.disk_image_mime_type)
|