rails / request.js

MIT License
389 stars 28 forks source link

Fixed anchors #34

Closed KonoMaxi closed 2 years ago

KonoMaxi commented 2 years ago

Hello @marcelolx,

I fixed the issue with not rejected anchor tags and removed the comment about redirect-validation.

The Fetch-API indeed validates the value to be one of the RequestRedirect-enum (see https://developer.mozilla.org/en-US/docs/Web/API/Request/redirect#value) and throws if not.