}
Json my_json = obj;
resp.body=my_json.dump();
- resp.headers["Content-Type"] = "application/json" + charset;
+ resp.headers["Content-Type"] = "application/json";
}
else if(command=="dynblocklist") {
Json::object obj;
}
Json my_json = obj;
resp.body=my_json.dump();
- resp.headers["Content-Type"] = "application/json" + charset;
+ resp.headers["Content-Type"] = "application/json";
}
else {
resp.status=404;
{ "acl", acl},
{ "local", localaddresses}
};
- resp.headers["Content-Type"] = "application/json" + charset;
+ resp.headers["Content-Type"] = "application/json";
resp.body=my_json.dump();
}