Skip to content

Partial implementation of HTTP-network Fetch step - #9153

Merged
bors-servo merged 1 commit into
servo:masterfrom
nikkisquared:http_network_fetch
Jan 5, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
nikkisquared:http_network_fetch

Conversation

@nikkisquared

Copy link
Copy Markdown
Contributor

I've been working on making a partial implementation of HTTP-network Fetch[1] so that I can begin testing the entire Fetch protocol as implemented in Servo. The empty steps are intentionally so, including the incomplete Step 5, which I started without realizing I don't need to do basic testing.

[1] https://fetch.spec.whatwg.org/#http-network-fetch

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 5, 2016
@KiChjang KiChjang added the S-needs-rebase There are merge conflict errors. label Jan 5, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether it's a good idea for the fetch infrastructure to depend upon http_loader.

@frewsxcv

frewsxcv commented Jan 5, 2016

Copy link
Copy Markdown
Contributor

components/net_traits/lib.rs, line 84 [r1] (raw file):
A couple things:

  1. Considering you're using markdown, it might be helpful to use /// so that it gets rendered in the documentation
  2. You only need one set of [ and ] for links in markdown

Comments from the review on Reviewable.io

@frewsxcv

frewsxcv commented Jan 5, 2016

Copy link
Copy Markdown
Contributor

components/net/fetch/request.rs, line 784 [r1] (raw file):
This could be:

if let Some(encoding) = response.headers.get::<ContentEncoding>() {
    ...
}

Comments from the review on Reviewable.io

@jdm

jdm commented Jan 5, 2016

Copy link
Copy Markdown
Member

Nice work! With @frewsxcv's comments addressed, the first commit removed and the remaining ones squashed together, and the result rebased against master, I'd be happy to merge these changes.

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-squash Some (or all) of the commits in the PR should be combined. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 5, 2016
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jan 5, 2016
@jdm

jdm commented Jan 5, 2016

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 1e8b840 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. S-needs-squash Some (or all) of the commits in the PR should be combined. labels Jan 5, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 1e8b840 with merge 573995e...

bors-servo pushed a commit that referenced this pull request Jan 5, 2016
Partial implementation of HTTP-network Fetch step

I've been working on making a partial implementation of HTTP-network Fetch[1] so that I can begin testing the entire Fetch protocol as implemented in Servo. The empty steps are intentionally so, including the incomplete Step 5, which I started without realizing I don't need to do basic testing.

[1] https://fetch.spec.whatwg.org/#http-network-fetch

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9153)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jan 5, 2016
@jdm

jdm commented Jan 5, 2016

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit af310f7 has been approved by jdm

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit af310f7 with merge 1ea2341...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 5, 2016
bors-servo pushed a commit that referenced this pull request Jan 5, 2016
Partial implementation of HTTP-network Fetch step

I've been working on making a partial implementation of HTTP-network Fetch[1] so that I can begin testing the entire Fetch protocol as implemented in Servo. The empty steps are intentionally so, including the incomplete Step 5, which I started without realizing I don't need to do basic testing.

[1] https://fetch.spec.whatwg.org/#http-network-fetch

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9153)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit af310f7 into servo:master Jan 5, 2016
@nikkisquared
nikkisquared deleted the http_network_fetch branch January 5, 2016 20:35
@jdm jdm removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants