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)
Thu, Jan 16, 12:28 AM
Unknown Object (File)
Tue, Jan 14, 11:35 PM
Unknown Object (File)
Sun, Jan 12, 5:18 PM
Unknown Object (File)
Fri, Dec 27, 3:37 PM
Unknown Object (File)
Thu, Dec 26, 7:11 AM
Unknown Object (File)
Dec 9 2024, 4:53 PM
Unknown Object (File)
Dec 9 2024, 4:53 PM
Unknown Object (File)
Dec 9 2024, 4:52 PM
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