You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "arturobernalg (via GitHub)" <gi...@apache.org> on 2023/03/19 13:00:46 UTC

[GitHub] [httpcomponents-client] arturobernalg commented on a diff in pull request #427: Add support for preamble and epilogue in multipart entities

arturobernalg commented on code in PR #427:
URL: https://github.com/apache/httpcomponents-client/pull/427#discussion_r1141355598


##########
httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java:
##########
@@ -245,20 +286,20 @@ MultipartFormEntity buildEntity() {
         final AbstractMultipartFormat form;
         switch (modeCopy) {
             case LEGACY:
-                form = new LegacyMultipart(charsetCopy, boundaryCopy, multipartPartsCopy);
+                form = new LegacyMultipart(charsetCopy, boundaryCopy, multipartPartsCopy, preamble, epilogue);

Review Comment:
   Changed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org