Skip to content

Conversation

@garydgregory
Copy link
Member

@garydgregory garydgregory commented Jun 4, 2025

  • Add org.apache.hc.client5.http.entity.mime.PathBody
  • Add org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder.addBinaryBody(String, Path)
  • Add org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder.addBinaryBody(String, Path, ContentType, String)

pom.xml Outdated
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.19.0</version>
<scope>test</scope>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garydgregory I think the scope has no effect here and should be removed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the review @ok2c , fixed, squashed, and pushed.

* @param name The part name.
* @param path The source path.
* @return {@code this} instance.
* @since 5.5.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garydgregory This looks wrong. It should be 5.6

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, squashed, and pushed.

@garydgregory garydgregory force-pushed the master_add_PathBody branch from 4829a95 to b7df6ec Compare June 4, 2025 15:09
Copy link
Member

@ok2c ok2c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garydgregory Looks good now. The next version in master should be 5.6-alpha1. Please rebase your changes and merge

@garydgregory garydgregory force-pushed the master_add_PathBody branch from b7df6ec to 53e96f3 Compare June 4, 2025 17:37
- Add org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder.addBinaryBody(String,
File)
- Add org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder.addBinaryBody(String,
Path, ContentType, String)
@garydgregory garydgregory force-pushed the master_add_PathBody branch from 53e96f3 to 0039b22 Compare June 4, 2025 17:46
@garydgregory garydgregory merged commit 6df72d1 into apache:master Jun 4, 2025
10 checks passed
@garydgregory garydgregory deleted the master_add_PathBody branch June 4, 2025 17:50
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