ok2c commented on code in PR #625:
URL:
https://github.com/apache/httpcomponents-client/pull/625#discussion_r2000700396
##########
httpclient5/src/main/java/org/apache/hc/client5/http/entity/mime/MultipartEntityBuilder.java:
##########
@@ -47,18 +47,8 @@
/**
* Builder for multipart {@link HttpEntity}s.
* <p>
- * This class constructs multipart entities with a boundary determined by
either a fixed
- * value ("httpclient_boundary_7k9p2m4x8n5j3q6t1r0vwyzabcdefghi") or a random
UUID. If no
- * boundary is explicitly set via {@link #setBoundary(String)}, it defaults to
the fixed
- * value unless {@link #withRandomBoundary()} is called to request a random
UUID at build
- * time. Users can provide a custom boundary with {@link
#setBoundary(String)}. A warning
- * is logged when no explicit boundary is set via {@link
#setBoundary(String)}, encouraging
- * deliberate choice.
- * </p>
- * <p>
- * IMPORTANT: it is responsibility of the caller to validate / sanitize
content of body
Review Comment:
@benweissmann Restore this section. It says IMPORTANT for a reason.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]