aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix return value of concept-header-list-get to Option<Vec<u8>>2shiori172023-03-261-13/+17
|
* Remove net from dependencies2shiori172023-03-201-16/+1
|
* Implement concept-header-list-sort-and-combine2shiori172023-03-061-1/+1
|
* Upgrade HyperNaveen Gattu2022-01-162-5/+7
|
* Fix warnings.Josh Matthews2022-01-031-2/+0
|
* Non-blocking network IONaveen Gattu2021-12-231-89/+108
|
* Update nightly rustc.Josh Matthews2021-11-011-1/+1
|
* Block port 10080Vincent Ricard2021-04-161-2/+2
| | | | See https://github.com/whatwg/fetch/issues/1191
* Add port blocking for tftp, netbios-ns, snmp, rtsp, h323gatestat, ↵Vincent Ricard2021-03-291-5/+6
| | | | | | h323hostcall, pptp, sane-port Spec update: https://github.com/whatwg/fetch/pull/1148
* Fix some 'nosniff' testsVincent Ricard2021-03-082-12/+180
|
* Update the "bad ports" listVincent Ricard2020-11-041-2/+2
| | | | https://github.com/whatwg/fetch/issues/1108
* Update referrer computationUtsav Oza2020-07-021-20/+14
| | | | | | | | Update unit tests for determine_requests_referrer Update wpt metadata Add missing spec links
* Make url for "client" referrer mandatoryMatthias Deiml2020-06-171-7/+1
|
* fix streaming request bodies, terminate fetch if the body stream errorsGregory Terzian2020-06-161-2/+6
|
* net: Use a POST request for allowing certs temporarily.Josh Matthews2020-06-091-14/+22
|
* net: Add option to temporarily accept certs that failed the handshake.Josh Matthews2020-06-091-11/+35
|
* net: update list of bad portsGregory Terzian2020-06-041-4/+4
|
* check http_state in determine_request_referrerAlexandrov Sergey2020-05-191-0/+1
|
* Update content-security-policy.Josh Matthews2020-03-251-0/+1
|
* Auto merge of #25740 - gterzian:per_fetch_filemanager_handle, r=Manishearthbors-servo2020-02-251-3/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per fetch file token for blob url <!-- Please describe your changes on the following line: --> Depends on https://github.com/servo/servo/pull/25724 First step of https://github.com/servo/servo/issues/25226 --- <!-- 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. -->
| * add a fetch token for blob urlsGregory Terzian2020-02-211-3/+4
| |
* | Auto merge of #25768 - pshaughn:corsstar, r=jdmbors-servo2020-02-141-9/+10
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle access-control header wildcards <!-- Please describe your changes on the following line: --> We were checking Access-Control-Expose-Headers for wildcards inconsistently and then discarding the result; this fixes the check and its use, passing the WPT test for having a wildcard there. --- <!-- 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 - [X] These changes fix #24913 <!-- Either: --> - [X] 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. -->
| * Handle access-control header wildcardsPatrick Shaughnessy2020-02-141-9/+10
| |
* | add a core resource thread-poolGregory Terzian2020-02-141-2/+2
|/
* file: and about: are now opaque-filtered responsesPatrick Shaughnessy2020-02-111-8/+1
|
* Fix HSTSJan Andre Ikenmeyer2020-01-071-1/+1
|
* Now just one is_cors_safelisted_request_header, with closer spec alignmentPatrick Shaughnessy2019-12-161-27/+4
|
* Auto merge of #24508 - pajamapants3000:21254, r=jdmbors-servo2019-10-221-2/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add start_time to resource timing. <!-- Please describe your changes on the following line: --> `start_time` property added to `ResourceFetchTiming`, which enables the setting of `start_time` in the `PerformanceEntry` member of `PerformanceResourceTiming`. Following the specification at https://w3c.github.io/resource-timing/#dfn-starttime, `start_time` is set to the value of `redirect_start` if redirection occurs and the timing allow check passes. Otherwise it has the same value as `fetch_start`. --- <!-- 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 - [x] These changes fix #21254 <!-- Either: --> - [x] 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. -->
| * 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
|