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

[Bug] HttpResponse can not to return customized header only for content type or something when using triple protocal #15042

Closed
3 of 4 tasks
z1137557736 opened this issue Jan 8, 2025 · 2 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@z1137557736
Copy link

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo Java 3.3.0; JDK 17

Steps to reproduce this issue

HttpResponse can not to return customized header only for content type or something

image

What you expected to happen

support to return customized http header

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@z1137557736 z1137557736 added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Jan 8, 2025
@z1137557736 z1137557736 changed the title [Bug] [Bug] HttpResponse can not to return customized header only for content type or something Jan 8, 2025
@z1137557736 z1137557736 changed the title [Bug] HttpResponse can not to return customized header only for content type or something [Bug] HttpResponse can not to return customized header only for content type or something when using triple protocal Jan 8, 2025
@z1137557736
Copy link
Author

it's fixed on 3.3.2 version

@oxsean
Copy link
Collaborator

oxsean commented Jan 8, 2025

content-type supports modification, but there are some limitations, after changing the content-type, the encoder is not modified, which means if you change it to yml, the output is still json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Archived in project
Development

No branches or pull requests

3 participants