Bug 171581 - [Fetch API] Implement body formData() method
Summary: [Fetch API] Implement body formData() method
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 171589
Blocks: 151937
  Show dependency treegraph
 
Reported: 2017-05-02 17:29 PDT by Ben Kelly
Modified: 2017-08-28 11:00 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kelly 2017-05-02 17:29:05 PDT
+++ This bug was initially created as a clone of Bug #161190 +++

This bug is to implement the .formData() method defined here:

https://fetch.spec.whatwg.org/#dom-body-formdata

This will require parsing multipart/form-data.  It seems WebKit has an existing multipart parser here that I'll try to use:

https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/network/curl/MultipartHandle.h