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

Fetch: remove support for Response's trailer #20720

Merged
merged 2 commits into from
Dec 12, 2019
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Dec 11, 2019

}, "Headers object no longer has a getAll() method");

test(() => {
const request = new Request("https://domfarolino.com");
Copy link
Contributor

Choose a reason for hiding this comment

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

Using random domains makes me nervous, even if they shouldn't be contacted (it probably can't happen here but sometimes e.g. prefetching ends up causing forbidden requests). Can we just use the wpt domain instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure.

@annevk annevk requested a review from jgraham December 12, 2019 13:50
@annevk annevk merged commit 1db21a0 into master Dec 12, 2019
@annevk annevk deleted the annevk/fetch-historical branch December 12, 2019 13:51
annevk added a commit to whatwg/fetch that referenced this pull request Dec 12, 2019
As noted in #772 (comment) the current way it is exposed subsets what HTTP supports and therefore does not feel like a good starting point. Both for the internal and public API.

Additionally, the public-facing API has not seen interest from implementers, at least for the past year and a half.

Tests: web-platform-tests/wpt#20720.

Closes #772. Follow-ups: #980 and #981.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants