mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Spawn threads for requests in file manager and other style fixes
This commit is contained in:
parent
b9af49f120
commit
bf18225ba2
6 changed files with 217 additions and 164 deletions
|
@ -19,9 +19,9 @@ use std::sync::Arc;
|
|||
// TODO: Check on GET
|
||||
// https://w3c.github.io/FileAPI/#requestResponseModel
|
||||
|
||||
pub fn load_blob(load_data: &LoadData, start_chan: LoadConsumer,
|
||||
pub fn load_blob(load_data: LoadData, start_chan: LoadConsumer,
|
||||
classifier: Arc<MimeClassifier>, opt_filename: Option<String>,
|
||||
rel_pos: &RelativePos, entry: &BlobURLStoreEntry) {
|
||||
rel_pos: RelativePos, entry: BlobURLStoreEntry) {
|
||||
let content_type: Mime = entry.type_string.parse().unwrap_or(mime!(Text / Plain));
|
||||
let charset = content_type.get_param(Attr::Charset);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue