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
F14829946: D18700.diff
Wed, Jan 29, 6:50 PM
Unknown Object (File)
Tue, Jan 28, 12:53 PM
Unknown Object (File)
Tue, Jan 28, 2:51 AM
Unknown Object (File)
Fri, Jan 24, 10:43 PM
Unknown Object (File)
Fri, Jan 24, 10:40 PM
Unknown Object (File)
Fri, Jan 24, 10:40 PM
Unknown Object (File)
Fri, Jan 24, 10:40 PM
Unknown Object (File)
Tue, Jan 21, 9:33 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
Branch
post2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18668
Build 25147: Run Core Tests
Build 25146: arc lint + arc unit