Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Response's `Clone()` method to clone headers. #13882

Merged
merged 1 commit into from Oct 22, 2016

Conversation

@jeenalee
Copy link
Contributor

jeenalee commented Oct 21, 2016

This patch allows the response clone to have the same headers list as the original's. Previously, only the cloned response's headers guard was set to be the same as the original response's headers guard.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

This patch allows the response clone to have the same headers list as
the original's. Previously, only the cloned response's headers guard was
set to be the same as the original response's headers guard.
@jdm jdm self-assigned this Oct 21, 2016
@jdm
Copy link
Member

jdm commented Oct 21, 2016

@bors-servo: r+
Looks good!

@bors-servo
Copy link
Contributor

bors-servo commented Oct 21, 2016

📌 Commit 25cc87f has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 21, 2016

Testing commit 25cc87f with merge e6c4dfb...

bors-servo added a commit that referenced this pull request Oct 21, 2016
Make Response's `Clone()` method to clone headers.

<!-- Please describe your changes on the following line: -->
This patch allows the response clone to have the same headers list as the original's. Previously, only the cloned response's headers guard was set to be the same as the original response's headers guard.

---
<!-- 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/13882)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 21, 2016

💔 Test failed - mac-rel-css

@Ms2ger
Copy link
Contributor

Ms2ger commented Oct 22, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 22, 2016

Testing commit 25cc87f with merge 62689ba...

bors-servo added a commit that referenced this pull request Oct 22, 2016
Make Response's `Clone()` method to clone headers.

<!-- Please describe your changes on the following line: -->
This patch allows the response clone to have the same headers list as the original's. Previously, only the cloned response's headers guard was set to be the same as the original response's headers guard.

---
<!-- 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/13882)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 22, 2016

💔 Test failed - linux-rel-wpt

@jdm
Copy link
Member

jdm commented Oct 22, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 22, 2016

Previous build results for arm32, arm64, mac-dev-unit, mac-rel-wpt1, windows-dev are reusable. Rebuilding only linux-dev, linux-rel-css, linux-rel-wpt, mac-rel-css, mac-rel-wpt2...

@bors-servo
Copy link
Contributor

bors-servo commented Oct 22, 2016

@bors-servo bors-servo merged commit 25cc87f into servo:master Oct 22, 2016
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.