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
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
F15379183: D18700.id44899.diff
Thu, Mar 13, 7:11 PM
Unknown Object (File)
Feb 9 2025, 4:46 AM
Unknown Object (File)
Feb 9 2025, 4:46 AM
Unknown Object (File)
Feb 9 2025, 4:46 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