Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix an issue with the httpasyncclient component where the isErro… #608

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

w2dp
Copy link
Contributor

@w2dp w2dp commented Sep 14, 2023

Fix

  • Add a unit test to verify that the fix works.
  • Explain briefly why the bug exists and how to fix it.
    Normally, HTTP status codes below 400 should be marked as isError=false. However, due to a previous code migration, the isError state in the httpasyncclient component became inaccurate. It incorrectly marked isError=true even for HTTP status codes below 400.

@wu-sheng
Copy link
Member

Please update the changes.md in the root.

@wu-sheng wu-sheng added this to the 9.1.0 milestone Sep 14, 2023
@wu-sheng wu-sheng added bug Something isn't working plugin labels Sep 14, 2023
@w2dp
Copy link
Contributor Author

w2dp commented Sep 14, 2023

Please update the changes.md in the root.

Added as requested.

@wu-sheng wu-sheng merged commit 6f80861 into apache:main Sep 14, 2023
180 checks passed
@w2dp w2dp deleted the fix_httpasyncclient_iserror branch September 18, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants