Skip to content

Conversation

@RomainMazB
Copy link

This PR expands a MultipartStream element with a nested array contents into multiple separated and well-formed elements.

Basically, this:

[
  'name' => 'foo',
  'contents' => [
    ['key' => 'bar'],
    ['key' => 'baz']
  ]
]

results into this:

--boundary
Content-Disposition: form-data; name=foo[0][key]
Content-Length: 3

bar
--boundary
Content-Disposition: form-data; name=foo[1][key]
Content-Length: 3

baz
--boundary--

This is an attempt to ease the DX for Guzzle, see guzzle/guzzle#3260

@stale
Copy link

stale bot commented Feb 25, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions.

@RomainMazB
Copy link
Author

Bump 💥

@stale stale bot removed the lifecycle/stale label Feb 26, 2025
@stale
Copy link

stale bot commented Jun 26, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions.

@GrahamCampbell
Copy link
Member

Not stale.

@stale
Copy link

stale bot commented Dec 18, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

SYSTEM_READY >> ...MS