aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/file_loader.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove CoreResourceMsg::Load.Ms2ger2016-11-241-139/+0
| | | | | | | | Also remove now-dead code that rustc warns about. It turns out that we lost support for some of our custom URL schemes; I intend to reimplement them, but I believe this will be significantly easier to do once the legacy code is out of the way.
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-3/+3
|
* Move ReferrerPolicy to net_traits.Ms2ger2016-11-041-2/+2
|
* Don't require `PathBuf` ownership if we don't need it.Corey Farwell2016-09-161-6/+6
|
* Reorder `use` statementsUK9922016-09-091-1/+1
|
* Integrate service worker manager threadRahul Sharma2016-07-161-4/+1
|
* Rename `MIMEClassifier` to match Rust acronym naming conventions.Corey Farwell2016-07-021-3/+3
| | | | e.g. `std::net::TcpStream`
* adding interface for custom responsesRahul Sharma2016-05-201-2/+21
|
* Add `NetworkError::LoadCancelled` variant.Corey Farwell2016-04-271-2/+2
|
* Add referrer policy pass-through and referrer header logicRebecca2016-04-251-1/+1
| | | | | | | add pass-through from doc to http-loader for referrer_policy, ref_URL add logic for setting referer header add script pass-through for referrer add unit tests for setting referer header
* Upgrade to rust-url 1.0 and hyper 0.9Simon Sapin2016-04-231-1/+1
|
* Propagating the load errors from network loaderRavi Shankar2016-04-201-5/+5
|
* Refactor `loop` into a `while` loop.Corey Farwell2016-04-191-6/+3
|
* Flatten implementation of `net::file_loader::factory`.Corey Farwell2016-04-151-45/+45
|
* Issue #9095: Send a notification when a file load is cancelled.Simon Martin2016-01-101-21/+24
|
* task -> threadrohan.prinja2016-01-101-3/+3
|
* Resolves #4183 - Implemementing context-based MIME type sniffingDavid Rajchenbach-Teller2015-12-311-3/+5
| | | | | The version of the standard is not finalized at the time of this writing. Specifications may be found here: https://mimesniff.spec.whatwg.org/#context-specific-sniffing .
* Auto merge of #8650 - Wafflespeanut:about-404, r=Wafflespeanutbors-servo2015-11-261-2/+9
|\ | | | | | | | | | | | | | | | | | | Redirect to an error page on 404! fixes #7658 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8650) <!-- Reviewable:end -->
| * Redirect to an error page when file's not foundRavi Shankar2015-11-261-2/+9
| |
* | Add content_type to metadata in file_loaderKeith Yeung2015-11-241-2/+7
|/
* Implement cancellation listener for cancelling network requestsRavi Shankar2015-11-121-7/+28
|
* Consistently use content-type sniffing with all protocols.Eli Friedman2015-10-311-8/+17
|
* Refactor resource loaders to use send_error utility.Eli Friedman2015-10-131-6/+4
| | | | No substantial functional change.
* Cleanup code that was warned by rust-clippyCorey Farwell2015-10-111-1/+1
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-3/+3
|
* Add plugins for compositing and net crates #7699Maciej Skrzypkowski2015-09-221-2/+2
| | | | | Changed to_string calls to to_owned calls where was a need.
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-1/+0
| | | | This merges import blocks that were reported by tidy as unmerged.
* sort all usesJohann Tuffe2015-08-201-2/+2
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-0/+1
|
* Remove as_mut_slice() calls.Ms2ger2015-04-261-1/+1
|
* Replace usage of ResponseSenders by LoadConsumerMarcus Klaas2015-04-191-2/+2
|
* Completely abstract sending responses over channels vs. listeners.Josh Matthews2015-04-161-4/+3
|
* Start switching net/ to use abstractions over channels to allow introducing ↵Josh Matthews2015-04-161-7/+6
| | | | non-channel communication in the future.
* Avoid virtual calls when loading files.Ms2ger2015-04-101-3/+3
|
* Remove int_uint from net.Josh Matthews2015-04-071-1/+1
|
* Enable optional mime sniffing, and integrate it with the file loader.Josh Matthews2015-04-061-13/+39
|
* Remove the sniffer task.Josh Matthews2015-04-061-7/+4
|
* Split out shared networking code into net_traits crateGilles Leblanc2015-04-031-2/+3
| | | | Fixes #4476
* Stop using old_path in net.Ms2ger2015-03-261-2/+3
|
* Fixed some deprecation errors in components/net.Avi Weinstock2015-03-231-18/+14
|
* Update some code that's feature-gated under core.Ms2ger2015-03-211-1/+1
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-2/+2
|
* add `unwrap` to `send/recv` callsAlexandru Cojocaru2015-02-031-3/+3
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-3/+4
|
* Pass a String to spawn_named.Ms2ger2015-01-211-1/+2
| | | | | IntoString has been removed from Rust, and named() will take a String, so there is no good reason to do otherwise here.
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-1/+2
|
* Shared Sniffer TaskKshitij Parajuli2014-11-281-4/+7
| | | | | | | | - Added TargetedLoadResponse and ResponseSenders - LoadData constructor contains the next consumer which means SnifferManager doesn't need the next consumer to start - New SnifferTask is created at new resource_task creation - Update Unit Tests
* create about_loader, handle about:blankSean McArthur2014-09-111-1/+2
|
* remove unnecessary proc from resource loader factorySean McArthur2014-09-111-24/+21
|