mirror of
https://github.com/servo/servo
synced 2026-05-15 11:26:50 +02:00
Refactor http_fetch to reflect the new standard Partial #4576. The spec is really getting funky now - it's depending more and more on the DOM objects (e.g. prompting the user for authentication using a `Window` object). I think we can just pass in username and password as properties of the `Request` struct though. I've also added in the async version for http_request. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8516) <!-- Reviewable:end -->