fix(externalIpProvider/plain): when reading response body #54
Reference in New Issue
Block a user
Delete Branch "fix-issue-reading-response-body"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixing an error where the service crashes reading the response body, when no content-length header was provided in the response.
The changes address the issue of handling response bodies without content-length headers by using io.ReadAll, which properly handles all cases. The error handling and body closing logic are improved.