Bug 161190
| Summary: | [Fetch API] Support extracting FormData bodies | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | achristensen, ben, cdumez, sam |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 161087, 166920, 171589 | ||
| Bug Blocks: | 151937, 221248 | ||
youenn fablet
If body is a FormData, we should be able to consume it through text/arrayBuffer/json.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ben Kelly
Does the work you are doing here include parsing the body and exposing the formData() method? I was thinking of taking that as a personal project, but don't want to conflict if its in progress here.
Sam Weinig
(In reply to Ben Kelly from comment #1)
> Does the work you are doing here include parsing the body and exposing the
> formData() method? I was thinking of taking that as a personal project, but
> don't want to conflict if its in progress here.
Go for it! I won't get to this for a little bit.
Ben Kelly
Thanks. I'll keep this bug for consuming FormData in the Request/Response constructors and write a separate bug for serializing out via the .formData() method.
(I would assign myself, but I don't seem to have the bugzilla permissions to do that.)
Ben Kelly
Tests for this are in:
http://w3c-test.org/fetch/api/response/response-init-002.html
http://w3c-test.org/fetch/api/request/request-init-002.html
Ben Kelly
Unassigning myself from this and related bugs since I'm not realistically working it right now. I just haven't had the free time to get back to it. Sorry!
Alex Christensen
*** This bug has been marked as a duplicate of bug 215671 ***