PakhomovAlexander commented on code in PR #816:
URL: https://github.com/apache/ignite-3/pull/816#discussion_r885083749
##########
modules/cli/src/main/java/org/apache/ignite/cli/builtins/config/ConfigurationClient.java:
##########
@@ -81,7 +81,7 @@ public String get(
) {
var req = HttpRequest
.newBuilder()
- .header("Content-Type", "application/json");
+ .header("Content-Type", "text/plain");
Review Comment:
I've changed the Content-Type from applicaiton/json to text/plain because
the HOCON configuration, in fact, is represented as a text (string) but not as
a json object.
--
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]