Skip to content

Commit

Permalink
[update][plugin][httpreader] Migrate Apache HttpComponents from 4.x t…
Browse files Browse the repository at this point in the history
…o 5.x

- Updated dependencies to use HttpComponents 5.x
- Refactored code to accommodate API changes in the new version
- Ensured compatibility and tested existing functionality
  • Loading branch information
wgzhao committed Oct 8, 2024
1 parent c088d94 commit ef2a867
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 250 deletions.
11 changes: 2 additions & 9 deletions plugin/reader/httpreader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,9 @@
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5-fluent</artifactId>
<version>${httpclient.version}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
Loading

0 comments on commit ef2a867

Please sign in to comment.