Pil0tXia opened a new issue, #4286: URL: https://github.com/apache/eventmesh/issues/4286
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Environment Windows ### EventMesh version master ### What happened The response body is not recognised as JSON in Postman, and the Content-Type header missing:   ### How to reproduce That's because `NetUtils.sendSuccessResponseHeaders(httpExchange);` is in front of `httpExchange.getResponseHeaders().add(CONTENT_TYPE, APPLICATION_JSON);` and headers are sent out before they are set correctly. ### Debug logs _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
