Skip to content

Commit c2c5cc2

Browse files
authored
Merge pull request #271 from ThatSava/master
Updated Content-Type for certificate enrollment
2 parents 63a3d40 + 3b8c8e9 commit c2c5cc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opentakserver/blueprints/marti_api/certificate_enrollment_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def tls_config():
7676
second_name_entry.set("name", "OU")
7777
second_name_entry.set("value", app.config.get("OTS_CA_ORGANIZATIONAL_UNIT"))
7878

79-
return tostring(root_element), 200, {"Content-Type": "application/xml"}
79+
return tostring(root_element), 200, {"Content-Type": "text/plain; charset=UTF-8"}
8080

8181

8282
@certificate_authority_api_blueprint.route("/Marti/api/tls/signClient/", methods=["POST"])

0 commit comments

Comments
 (0)