Page MenuHomePhabricator

Add a rough "multipart/form-data" stream parser
ClosedPublic

Authored by epriestley on Oct 10 2017, 8:36 PM.
Tags
None
Referenced Files
F15470397: D18700.id44899.diff
Fri, Apr 4, 9:47 PM
F15450988: D18700.id44892.diff
Fri, Mar 28, 7:29 PM
F15446430: D18700.id44899.diff
Thu, Mar 27, 7:03 PM
F15442487: D18700.id44899.diff
Wed, Mar 26, 11:41 PM
F15438710: D18700.id.diff
Wed, Mar 26, 2:57 AM
F15431815: D18700.diff
Mon, Mar 24, 2:38 PM
F15415802: D18700.id44899.diff
Thu, Mar 20, 7:54 AM
F15398693: D18700.diff
Mon, Mar 17, 1:16 AM
Subscribers
None

Details

Summary

Depends on D18699. Ref T13008. This only handles the basics (and doesn't stream files to disk yet) but provides a stream-oriented parser for multipart/form-data HTTP requests.

I'm going to integrate this into web workflows next and add coverage / fix bugs as I hit them.

Test Plan

Added basic unit tests, which pass.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable