Skip to content

Cleanup format#2959

Merged
Uzlopak merged 7 commits intonodejs:mainfrom
KhafraDev:cleanup-format
Mar 15, 2024
Merged

Cleanup format#2959
Uzlopak merged 7 commits intonodejs:mainfrom
KhafraDev:cleanup-format

Conversation

@KhafraDev
Copy link
Copy Markdown
Member

FormData is better now, made Response/Request start with Response { or Request {, etc.

> var fd = new FormData()
> fd.set('a', 'b')
> fd.append('a', new Blob(['hello']), 'hello.txt')
> fd.set('file', new Blob(['file']))
> fd

FormData {
  a: [
    'b',
    File { size: 5, type: '', name: 'hello.txt', lastModified: 1710432489080 }
  ],
  file: File { size: 4, type: '', name: 'blob', lastModified: 1710432492961 }
}

Loading
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.

4 participants