Revert "GetCapabilities#CheckOne: Return json content type"

This reverts commit 3841949d59. It added
the )]}' XSRF protection to the beginning of the response, which may
break some users.

If trying this change again, we should include more information about
the rationale and produce a json object instead of a string so it's
easier to add new fields later.

Change-Id: I5d9fe7a7d2ccd952efc6b6f8aa062f1c6ad9a051
This commit is contained in:
Jonathan Nieder
2018-09-14 16:04:54 +00:00
parent 3841949d59
commit 4557abd6e1
2 changed files with 3 additions and 6 deletions

View File

@@ -1089,10 +1089,7 @@ If the user has the global capability the string `ok` is returned.
.Response
----
HTTP/1.1 200 OK
Content-Disposition: attachment
Content-Type: application/json; charset=UTF-8
)]}'
ok
----