mirror of
https://github.com/servo/servo.git
synced 2025-10-13 06:50:28 +01:00
Add Tests For Asynchronous Fetch Calls With Filtered Responses I've added two tests using async_fetch intended to create filtered responses. I caught and fixed a bug where waiting for response.body to be completed would never pass for Opaque or OpaqueRedirect, since their response.body is always `Empty`. As always, I'd appreciate review and feedback! I don't plan to write new tests, but I will gladly patch up any gaps in the current tests. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9907) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
parsable_mime | ||
Cargo.toml | ||
cookie.rs | ||
data_loader.rs | ||
fetch.rs | ||
hsts.rs | ||
http_loader.rs | ||
lib.rs | ||
mime_classifier.rs | ||
resource_thread.rs | ||
test.jpeg |