Skip to content

Commit

Permalink
Spawn threads for requests in file manager and other style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
izgzhen committed Jul 8, 2016
1 parent b9af49f commit bf18225
Show file tree
Hide file tree
Showing 6 changed files with 215 additions and 162 deletions.
4 changes: 2 additions & 2 deletions components/net/blob_loader.rs
Expand Up @@ -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);

Expand Down

0 comments on commit bf18225

Please sign in to comment.