Polishing contribution

See gh-37202
This commit is contained in:
Brian Clozel
2026-09-07 11:57:05 +02:00
parent 8f4fcb6cbc
commit 4c8c6409a2
@@ -86,6 +86,7 @@ final class PartGenerator implements MultipartParser.PartListener {
@Override
public void onHeaders(HttpHeaders headers) {
// no-op on the first part, since InitialState does not override onComplete()
this.state.onComplete();
if (isFormField(headers)) {
this.state = new FormFieldState(headers);