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

fix(op_crates/fetch): redirect: "manual" fetch should return type: "default" response #8353

Merged

Conversation

lucacasonato
Copy link
Member

@lucacasonato lucacasonato commented Nov 11, 2020

This intentionally breaks from spec (but aligns to other server side implementations of fetch like Cloudflare Workers).

Closes #8351
Closes #4389

@lucacasonato lucacasonato requested a review from kitsonk November 11, 2020 20:21
@bartlomieju
Copy link
Member

@nayeemrmn what's your opinion on this PR?

Copy link
Collaborator

@nayeemrmn nayeemrmn left a comment

Choose a reason for hiding this comment

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

Similar to #6868, my preference is that spec-breaking behaviour can only invoked by passing an option with key Deno.<symbol>. But there's no such infrastructure yet. If that proposal gets approved we can always revisit this.

@ry ry added this to the 1.6.0 milestone Nov 19, 2020
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

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

LGTM

Would be good to link/reference any documentation update PR from the comments on this PR.

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.

Remove opaqueredirect response type in fetch fetch(..., {redirect: 'manual'}) does not work propertly
5 participants