Jeena Lee
ec6eb21249
servo: Merge #12700 - Implement the Request API (from jeenalee:jeena-requestAPI); r=jdm
...
Implement the Request API
<!-- Please describe your changes on the following line: -->
This PR implements the [Request API](https://fetch.spec.whatwg.org/#request-class ) for the Fetch API, including its attributes and constructor, and introduces changes in relevant files.
This Request integrates `net_traits::request::Request` and `dom::headers`.
There are few related TODOs and comments:
1. `net_traits::request::Request`'s `headers` field does not point to `dom::request::Request`'s `headers_reflector`.
2. Every Constructor step that involves `Readable Stream` object is not implemented.
3. Every Constructor step that involves `entry settings object` or `environment settings object` is not implemented.
4. `./mach build -d` does not report any error, but prints a few warnings about unused variables related to (1) and (2).
5. Enum `ReferrerPolicy` generated by `RequestBinding` does not match `net_traits::request::Request`'s implementation.
6. `Promise`s in Body webidl are commented out.
---
<!-- 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 #11895 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tests for the Request API already exists, but this commit does not implement the interface fully.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Source-Repo: https://github.com/servo/servo
Source-Revision: 78160bf3f967ad34c671fe953de578bfa0b9542b
2016-08-12 23:54:49 -05:00
..
2016-08-12 23:54:49 -05:00
2016-06-25 15:16:48 -05:00
2016-08-12 23:54:49 -05:00
2016-07-26 22:54:56 -05:00
2016-06-02 06:18:59 -05:00
2016-07-08 05:06:57 -07:00
2016-06-07 11:09:14 -05:00
2016-05-24 02:07:29 -07:00
2016-08-02 16:57:46 -05:00
2016-07-28 03:33:08 -05:00
2016-05-04 08:06:06 -07:00
2016-03-16 20:31:18 +05:00
2016-05-27 18:14:25 -05:00
2016-07-28 03:33:08 -05:00
2016-07-28 03:33:08 -05:00
2016-07-28 03:33:08 -05:00
2016-07-28 03:33:08 -05:00
2016-05-27 18:14:25 -05:00
2016-07-28 06:58:59 -05:00
2016-05-24 02:07:29 -07:00
2015-12-18 03:56:59 +05:00
2016-07-04 12:57:00 -07:00
2016-05-24 15:59:31 -07:00
2016-06-02 06:18:59 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-02-05 03:10:36 +05:00
2016-05-24 02:07:29 -07:00
2016-06-01 01:59:12 -05:00
2016-05-24 02:07:29 -07:00
2016-08-02 08:05:16 -05:00
2016-08-11 20:12:29 -05:00
2016-05-24 02:07:29 -07:00
2016-07-14 01:30:22 -07:00
2016-05-24 02:07:29 -07:00
2016-07-15 11:25:43 -07:00
2016-07-15 11:25:43 -07:00
2015-12-18 23:07:12 +05:00
2015-11-18 15:14:30 +05:00
2016-05-27 18:14:25 -05:00
2015-11-18 15:14:30 +05:00
2016-06-01 07:36:47 -05:00
2015-11-18 15:14:30 +05:00
2016-05-24 02:07:29 -07:00
2016-07-05 02:04:42 -07:00
2016-08-09 12:02:55 -05:00
2016-07-04 11:03:35 -07:00
2016-07-13 10:18:15 -07:00
2016-07-04 11:03:35 -07:00
2016-05-24 02:07:29 -07:00
2016-07-04 11:03:35 -07:00
2016-07-22 01:09:58 -05:00
2016-08-02 10:04:46 -05:00
2016-07-14 10:55:17 -07:00
2016-07-31 03:50:37 -05:00
2016-05-24 02:07:29 -07:00
2016-05-27 18:14:25 -05:00
2016-08-10 06:40:16 -05:00
2016-05-24 02:07:29 -07:00
2016-08-12 23:54:49 -05:00
2016-08-03 22:22:57 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-27 11:29:21 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 10:55:17 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-10 08:18:27 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-05-24 02:07:29 -07:00
2016-08-10 06:40:16 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-21 22:40:56 -05:00
2016-07-14 10:55:17 -07:00
2016-08-02 16:57:46 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-28 20:42:13 -05:00
2016-08-12 12:23:10 -05:00
2016-07-14 01:30:22 -07:00
2016-08-12 12:23:10 -05:00
2016-07-20 02:58:34 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-08-12 12:23:10 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-20 02:58:34 -05:00
2016-07-14 01:30:22 -07:00
2016-06-07 11:09:14 -05:00
2016-07-14 01:30:22 -07:00
2016-05-24 02:07:29 -07:00
2016-07-27 11:29:21 -05:00
2016-07-14 01:30:22 -07:00
2016-06-07 11:09:14 -05:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-07-14 01:30:22 -07:00
2016-05-03 15:46:40 -07:00
2016-07-06 02:51:50 -07:00
2016-06-29 17:39:58 -05:00
2016-07-28 20:42:13 -05:00
2016-05-03 16:42:46 -07:00
2016-07-04 11:03:35 -07:00
2016-05-27 07:11:17 -05:00
2016-05-24 02:07:29 -07:00
2016-08-12 23:54:49 -05:00
2016-07-03 08:19:04 -07:00
2016-05-24 02:07:29 -07:00
2016-06-02 06:18:59 -05:00
2016-05-24 02:07:29 -07:00
2016-07-27 17:56:26 -05:00
2016-05-27 18:14:25 -05:00
2016-06-14 18:32:37 -05:00
2016-05-24 02:07:29 -07:00
2016-06-01 07:36:47 -05:00
2016-05-27 18:14:25 -05:00
2016-05-27 07:11:17 -05:00
2016-05-27 18:14:25 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-06-01 07:36:47 -05:00
2016-07-04 11:03:35 -07:00
2016-08-12 23:54:49 -05:00
2015-11-04 02:26:02 +05:00
2016-07-18 09:50:59 -07:00
2016-08-04 01:25:23 -05:00
2016-08-04 01:25:23 -05:00
2016-07-18 09:50:59 -07:00
2016-08-12 12:23:10 -05:00
2016-04-27 07:50:54 -07:00
2016-07-14 10:55:17 -07:00
2016-05-27 07:11:17 -05:00
2016-05-27 07:11:17 -05:00
2016-04-04 23:09:31 +05:00
2016-08-11 04:36:23 -05:00
2016-05-24 02:07:29 -07:00
2016-05-27 07:11:17 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2015-11-04 02:26:02 +05:00
2016-05-24 02:07:29 -07:00
2015-11-04 02:26:02 +05:00
2015-11-04 10:33:54 +05:00
2016-06-04 20:25:36 -05:00
2016-08-02 16:57:46 -05:00
2016-04-23 11:28:31 -07:00
2016-05-24 02:07:29 -07:00
2016-07-21 04:08:49 -05:00
2016-03-24 18:43:02 +05:00
2016-05-27 18:14:25 -05:00
2015-10-10 15:00:39 -06:00
2016-07-28 20:42:13 -05:00
2016-05-24 02:07:29 -07:00
2016-06-28 13:13:44 -05:00
2016-05-24 02:07:29 -07:00
2016-06-28 13:13:44 -05:00
2015-11-04 02:26:02 +05:00
2016-06-28 13:13:44 -05:00
2016-06-28 13:13:44 -05:00
2016-08-10 05:40:19 -05:00
2016-06-28 13:13:44 -05:00
2015-11-04 02:26:02 +05:00
2016-06-28 13:13:44 -05:00
2016-06-28 13:13:44 -05:00
2016-07-23 15:22:57 -05:00
2016-08-11 20:12:29 -05:00
2016-07-25 19:34:36 -05:00
2016-07-25 19:34:36 -05:00
2016-05-24 02:07:29 -07:00
2016-05-24 02:07:29 -07:00
2016-07-15 11:25:43 -07:00
2016-08-12 12:23:10 -05:00
2015-10-21 07:57:32 -06:00
2015-11-04 02:26:02 +05:00