aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add start_time to resource timing.Tommy Lincoln2019-10-201-2/+9
| |
* | Add simple implementation of content-security-policy on scripts / stylesMichael Howell2019-10-161-1/+36
|/ | | | | | | | This needs a lot more hooks before it'll actually be a good implementation, but for a start it can help get some feedback on if this is the right way to go about it. Part of servo/servo#4577
* http-cache: wait on pending storesGregory Terzian2019-10-081-2/+3
| | | | and various small improvements
* Move ResourceFetchTiming into ArcJaved Nissar2019-09-181-1/+2
| | | | | | | | | | | The purpose of this commit is to ensure that the Response object has access to Timing updates as previously the Response object simply stored a ResourceFetchTiming struct so updates on ResourceFetchTiming that were not explicitly done on the Response would not be passed down. The references to ServoArc are added because Response uses servo_arc::Arc rather than std::sync::Arc as is used elsewhere. So, we've switched those other places to servo_arc::Arc instead of switching Response to std::sync::Arc.
* Deduplicate idna, log, mime, mime_guess, percent-encoding, unicase, url, wsSimon Sapin2019-08-191-2/+1
|
* Auto merge of #23593 - georgeroman:fix_panic_on_opening_directory, r=Manishearthbors-servo2019-06-221-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix panic on opening a directory <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors Continued from https://github.com/servo/servo/pull/23548 <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23593) <!-- Reviewable:end -->
| * Fix panic on opening a directoryGeorge Roman2019-06-181-0/+8
| |
* | Auto merge of #23494 - gterzian:improve_http_cache, r=jdmbors-servo2019-06-221-4/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various improvements and update to the http cache <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23494) <!-- Reviewable:end -->
| * http-cache: improve handling of network errors and partial contentGregory Terzian2019-06-171-4/+2
| |
* | Upgrade headers, headers-core, and hyper_serde.Josh Matthews2019-06-131-2/+1
| |
* | Remove unused code from net and net_traits cratesest312019-06-021-10/+0
|/
* Added fetch_start functionality in http_fetchAdit Jain2019-01-241-0/+7
| | | | | | Added spec link for webidl. Added fetch_start functionality to PRT . Changed the fetch_start location
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-15/+19
|
* Remove redundant `.clone()`sShotaro Yamada2018-12-111-1/+1
|
* net: Wait for underlying response body of filtered responses.Josh Matthews2018-11-301-1/+1
|
* Change Response's statusText default value from 'Ok' to an empty stringGeorge Roman2018-11-271-0/+7
|
* Add comment about incorrect tests for file url range requests. Fmt and ↵Fernando Jiménez Moreno2018-11-261-1/+2
| | | | manifest update
* Use crossbeam channel instead of servo channel. Fix rebase issues and add ↵Fernando Jiménez Moreno2018-11-261-3/+3
| | | | comment
* Set response status for range requests to file and blob urlsFernando Jiménez Moreno2018-11-261-11/+59
|
* Do not set Receiving body to Done when it's not neededFernando Jiménez Moreno2018-11-261-1/+0
|
* Allow range requests to blob URLs with negative offsetsFernando Jiménez Moreno2018-11-261-30/+59
|
* Add support fo byte range requests for blob URLsFernando Jiménez Moreno2018-11-261-101/+84
|
* Finish asynchronous blob url fetchingFernando Jiménez Moreno2018-11-261-1/+1
|
* Blob url's changes now build and testms23002018-11-261-5/+1
|
* Initial implementation of asynchronous blob url fetchingms23002018-11-261-14/+6
|
* refactored performance timing to align with updated specddh2018-11-201-5/+9
| | | | | | | | | | | | refactoring with ResourceFetchMetadata implemented deprecated window.timing functionality created ResourceTimingListener trait fixed w3c links in navigation timing updated include.ini to run resource timing tests on ci
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-192-2/+2
|
* Update crossbeam-channel to 0.3Bastien Orivel2018-11-181-2/+2
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-1/+1
|
* Reorder importsPyfisch2018-11-061-6/+6
|
* Format remaining filesPyfisch2018-11-061-16/+15
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-2/+2
|
* Sort `use` statementsSimon Sapin2018-11-061-2/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-7/+7
|
* Reduce right drift in scheme_fetchPyfisch2018-11-031-124/+108
|
* Rustfmt net cratePyfisch2018-11-032-211/+334
|
* Update hyper to 0.12Bastien Orivel2018-11-012-120/+97
|
* Support for byte range requests on file urlsFernando Jiménez Moreno2018-10-311-3/+45
|
* Replace mpsc with crossbeam/servo channel, update ipc-channelSimon Sapin2018-09-121-1/+1
| | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
* Tidy things upJackson Lewis2018-09-061-3/+2
|
* Make file fetch asynchronousJackson Lewis2018-09-041-15/+43
|
* Read file in chunks and send chunks to FetchTaskTarget instead of ↵Jackson Lewis2018-08-281-3/+17
| | | | read_to_end call
* Use specific assertion for net fetch methodsCYBAI2018-01-261-1/+1
|
* handle caching of response with a body of ResponseBody::ReceivingGregory Terzian2018-01-131-0/+6
|
* ignore aborted response in http cachingGregory Terzian2018-01-131-1/+2
|
* Add aborted flag to response, set when fetch is abortedManish Goregaokar2017-11-201-7/+12
|
* Fetch cancellation: Add CancellationListenerManish Goregaokar2017-11-201-2/+30
|
* Fetch cancellation: Add cancel_chan to FetchContextManish Goregaokar2017-11-171-0/+2
|
* Auto merge of #18882 - KiChjang:fix-origin, r=jdmbors-servo2017-11-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Use the correct origin in fetch Fixes #18147. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18882) <!-- Reviewable:end -->
| * Use the correct URL when checking for bad portKeith Yeung2017-11-151-1/+1
| |