Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRefactor http_fetch to reflect the new standard #8516
Conversation
|
I think the most complicated part here is figuring out the best way to avoid cloning the contents of Reviewed 3 of 3 files at r1. components/net/fetch/request.rs, line 154 [r1] (raw file): components/net/fetch/request.rs, line 215 [r1] (raw file): components/net/fetch/request.rs, line 257 [r1] (raw file): components/net/fetch/request.rs, line 369 [r1] (raw file): components/net/fetch/request.rs, line 381 [r1] (raw file): components/net/fetch/request.rs, line 390 [r1] (raw file): components/net_traits/lib.rs, line 107 [r1] (raw file): Comments from the review on Reviewable.io |
|
Whew! Addressed some issues through 1337 h4x, will look at this later again to figure out what to do with the rest. Review status: 1 of 3 files reviewed at latest revision, 4 unresolved discussions. components/net/fetch/request.rs, line 369 [r1] (raw file): components/net/fetch/request.rs, line 381 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: 1 of 3 files reviewed at latest revision, 4 unresolved discussions. components/net/fetch/request.rs, line 369 [r1] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Reviewed 2 of 2 files at r2. components/net/fetch/request.rs, line 218 [r2] (raw file): components/net/fetch/request.rs, line 370 [r2] (raw file): Comments from the review on Reviewable.io |
|
Review status: 1 of 3 files reviewed at latest revision, 4 unresolved discussions. components/net/fetch/request.rs, line 257 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: 1 of 3 files reviewed at latest revision, 4 unresolved discussions. components/net/fetch/request.rs, line 257 [r1] (raw file): Comments from the review on Reviewable.io |
|
|
|
Almost there! I just need to fix a couple of ownership issues. Review status: 0 of 3 files reviewed at latest revision, 5 unresolved discussions. components/net/fetch/request.rs, line 345 [r6] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Reviewed 1 of 1 files at r3, 2 of 2 files at r4, 1 of 1 files at r5, 3 of 3 files at r6. components/net/fetch/request.rs, line 154 [r1] (raw file): components/net/fetch/request.rs, line 215 [r3] (raw file): components/net/fetch/request.rs, line 152 [r4] (raw file): components/net/fetch/request.rs, line 342 [r4] (raw file): components/net/fetch/request.rs, line 345 [r6] (raw file): components/net_traits/lib.rs, line 123 [r4] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 6 unresolved discussions, some commit checks failed. components/net/fetch/request.rs, line 154 [r1] (raw file): components/net/fetch/request.rs, line 342 [r4] (raw file): components/net_traits/lib.rs, line 123 [r4] (raw file): Comments from the review on Reviewable.io |
|
Review status: 1 of 3 files reviewed at latest revision, 5 unresolved discussions. components/net/fetch/request.rs, line 215 [r3] (raw file): components/net/fetch/request.rs, line 152 [r4] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Reviewed 2 of 2 files at r7. components/net/fetch/request.rs, line 351 [r7] (raw file): components/net/fetch/request.rs, line 352 [r7] (raw file): components/net/fetch/request.rs, line 386 [r7] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 2 unresolved discussions. components/net/fetch/request.rs, line 351 [r7] (raw file): components/net/fetch/request.rs, line 352 [r7] (raw file): Comments from the review on Reviewable.io |
|
|
I guess this means |
|
Ah, I see - the last line of that is the reason why we can't use |
|
@bors-servo: r+ Reviewed 1 of 1 files at r8. Comments from the review on Reviewable.io |
|
|
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 -->
|
|
|
@bors-servo: delegate+ |
|
|
|
@bors-servo: r+ |
|
|
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 -->
|
|
KiChjang commentedNov 13, 2015
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
Windowobject). I think we can just pass in username and password as properties of theRequeststruct though.I've also added in the async version for http_request.