Skip to content

Introduce configurable form data parser. - #5

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
configurable-form-data-parser
Aug 3, 2026
Merged

Introduce configurable form data parser.#5
samuel-williams-shopify merged 1 commit into
mainfrom
configurable-form-data-parser

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Protocol::Multipart::FormData::Parser with constructor-owned limits.
  • Parse streaming bodies using an explicit boundary: keyword without depending on HTTP request or content-type objects.
  • Build nested form data through Protocol::URL::FormData::Nested.
  • Allow uploads to be consumed and transformed incrementally.

Testing

  • RUBYLIB=../protocol-url/lib sus test
  • RUBYLIB=../protocol-url/lib rubocop
  • RUBYLIB=../protocol-url/lib bake decode:index:coverage lib

@samuel-williams-shopify
samuel-williams-shopify force-pushed the configurable-form-data-parser branch 7 times, most recently from 8482525 to ca31f11 Compare August 3, 2026 11:31
Assisted-By: devx/e76b566a-41cd-407d-a2fd-c5b79c88879d
@samuel-williams-shopify
samuel-williams-shopify force-pushed the configurable-form-data-parser branch from ca31f11 to b429e46 Compare August 3, 2026 11:52
@samuel-williams-shopify
samuel-williams-shopify merged commit e6b8a9c into main Aug 3, 2026
40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the configurable-form-data-parser branch August 3, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant