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
Unknown Object (File)
Mon, Apr 22, 10:49 PM
Unknown Object (File)
Fri, Apr 19, 2:42 AM
Unknown Object (File)
Wed, Apr 3, 8:40 PM
Unknown Object (File)
Sat, Mar 30, 9:57 PM
Unknown Object (File)
Wed, Mar 27, 1:47 PM
Unknown Object (File)
Jan 20 2024, 6:53 AM
Unknown Object (File)
Jan 20 2024, 6:22 AM
Unknown Object (File)
Jan 6 2024, 12:06 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