-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingfeat:fetchIssues related to @remix-run/web-fetchIssues related to @remix-run/web-fetchfeat:typescript
Description
What version of Remix are you using?
1.19.2
Are all your remix dependencies & dev-dependencies using the same version?
- Yes
Steps to Reproduce
const headers = new Headers()
headers.getSetCookie // not defined, should be.
The typings aren't there for it in TypeScript either. I've opened an issue about that: microsoft/TypeScript#55270 (this has been fixed)
Also, there are properties in URLSearchParams that aren't on Headers:
getAll
sort
size
toString
(should just be[object Headers]
Expected Behavior
Headers should follow the standard
Actual Behavior
It is missing a property and adds some properties that aren't in the spec.
mattf96s, dusty, haines, MichaelDeBoey, patrickDouglas and 3 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeat:fetchIssues related to @remix-run/web-fetchIssues related to @remix-run/web-fetchfeat:typescript