diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-09-29 06:19:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 06:19:59 -0500 |
commit | a03a5e814a7003ba9697aa37d7492cf9e6425ea4 (patch) | |
tree | 1ca5cf72f814ae8b0c7271e9cbd4370a254c4ab9 /tests/unit/net/lib.rs | |
parent | 76a8bd9cf34e469080427f1d63c266cff231bc54 (diff) | |
parent | a5e5cd0e9e1de50f9f62b431ddd1e28e6eb3a36b (diff) | |
download | servo-a03a5e814a7003ba9697aa37d7492cf9e6425ea4.tar.gz servo-a03a5e814a7003ba9697aa37d7492cf9e6425ea4.zip |
Auto merge of #13345 - malisas:malisa-bodyAPI, r=jdm
implement Body for dom::Response and dom::Request
<!-- Please describe your changes on the following line: -->
This PR adds dom::Response and dom::Request's `Text()`, `Blob()`, `Json()`, and (part of the) `FormData()` functions, part of the [Body mixin](https://fetch.spec.whatwg.org/#body). The corresponding tests have also been updated as passing.
@jeenalee also contributed to this PR, primarily the `Blob()`, `Json()`, and `FormData()` implementations.
---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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/13345)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/unit/net/lib.rs')
0 files changed, 0 insertions, 0 deletions