-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ErrorDecoder cannot get the real response's charset #1325
Labels
bug
Unexpected or incorrect behavior
Comments
@Linda-pan Feel free to submit a PR to correct this. |
@kdavisk6 Sorry for my late reply, I will submit a PR as soon as possible. |
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Dec 29, 2020
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Dec 30, 2020
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Dec 30, 2020
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 4, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
Linda-pan
added a commit
to Linda-pan/feign
that referenced
this issue
Jan 18, 2021
kdavisk6
added a commit
that referenced
this issue
Mar 7, 2021
) * Fix bug for FeignException cannot get the correct charset (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Fix bug for FeignException cannot get the correct charset (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Correcting License Headers for 2021 Co-authored-by: Kevin Davis <[email protected]>
This was referenced Mar 15, 2021
velo
pushed a commit
that referenced
this issue
Oct 7, 2024
) * Fix bug for FeignException cannot get the correct charset (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Fix bug for FeignException cannot get the correct charset (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Correcting License Headers for 2021 Co-authored-by: Kevin Davis <[email protected]>
velo
pushed a commit
that referenced
this issue
Oct 8, 2024
) * Fix bug for FeignException cannot get the correct charset (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Fix bug for FeignException cannot get the correct charset (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Add more test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Format test for (Fix bug for FeignException cannot get the correct charset) (#1325) * Correcting License Headers for 2021 Co-authored-by: Kevin Davis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code FeignException in feign-core-10.10.1
It seems that matcher.group(1) can only get one charactor, just like "UTF-8" can only get 'U'.
then all charset will become the default value utf-8.
Actually, content-type not only contain "charset", it usually like "application/json;charset=UTF-8".
I suggess that pattern could be ".charset=([^\\s|^;]+)."。
or use “matcher.find()” with "charset=([^\\s|^;]+)"
The text was updated successfully, but these errors were encountered: