-
Notifications
You must be signed in to change notification settings - Fork 61
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
The response data type of the management interface is not uniform #111
Comments
Yes, the 1st one is the correct way. The 2nd: it is a bug, we have set the 'Content-Type' to 'application/json' in the code, but it is not working. I will fix it. |
About 4th, I agree @pengjiejason , we need to uniform content-type settings. |
I think we need to clarify our API contract:
|
For non-2XX responses, theoretically, it is possible that the request hasn't been processed by our code, so I think the client should not be so strict on them. |
Yes, the request hasn't been processed the |
the 2nd issue has been fixed in PR easegress-io/easegress#430. |
this PR fix issue 2 of megaease/easemesh#111
I found that the responset type in mesh is divided into about 4 kinds.
I think the first one is normal, so I have tried to list as many interfaces as possible for the last three.
The text was updated successfully, but these errors were encountered: