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
F18908920: D18700.diff
Sun, Nov 9, 1:35 AM
F18886709: D18700.id.diff
Fri, Nov 7, 4:41 AM
F18876470: D18700.id.diff
Thu, Nov 6, 1:17 AM
F18874126: D18700.diff
Wed, Nov 5, 1:14 PM
F18754762: D18700.id.diff
Oct 5 2025, 1:11 AM
F18751903: D18700.diff
Oct 4 2025, 1:12 PM
F18587426: D18700.id44899.diff
Sep 11 2025, 9:23 PM
F18587294: D18700.id44892.diff
Sep 11 2025, 8:58 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