dubbo
dubbo copied to clipboard
[Help] when I extened a new serialization SPI,how to decide contentType
- [ X] I have searched the issues of this repository and believe that this is not a duplicate.
- [X ] I have checked the FAQ of this repository and believe that this is not a duplicate.
I add one new serialization and there can't find any useage of method Serialization.getContentType() in project. So what string should i return. And if there are some rules of this string value.
I think that if it is a json type, use text/, if it is a binary type, use x-application/, what do you think?
I see.