Skip to content

[12.x] Preserve empty HTTP attach contents#60291

Merged
taylorotwell merged 1 commit into
12.xfrom
fix-empty-http-attach-contents
May 27, 2026
Merged

[12.x] Preserve empty HTTP attach contents#60291
taylorotwell merged 1 commit into
12.xfrom
fix-empty-http-attach-contents

Conversation

@GrahamCampbell
Copy link
Copy Markdown
Collaborator

@GrahamCampbell GrahamCampbell commented May 27, 2026

This fixes a couple of bugs. This preserves empty multipart attachment contents when using the HTTP client. The previous array filtering removed the default empty contents value, which could produce a multipart part without its required contents key.


The static analysis error is unrelated, and should/could be fixed in a separate PR.

@GrahamCampbell GrahamCampbell changed the title Preserve empty HTTP attach contents [12.x] Preserve empty HTTP attach contents May 27, 2026
@taylorotwell taylorotwell merged commit b8f2341 into 12.x May 27, 2026
72 of 73 checks passed
@taylorotwell taylorotwell deleted the fix-empty-http-attach-contents branch May 27, 2026 23:28
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.

2 participants