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:
@@ -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
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user