From 68ebae0c6e6178dacaadc037038627215f54f77a Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sat, 31 Aug 2024 11:46:10 +0200 Subject: [PATCH 1/2] docs: add responseDict to HTTPClient documentation --- apidoc/Titanium/Network/HTTPClient.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apidoc/Titanium/Network/HTTPClient.yml b/apidoc/Titanium/Network/HTTPClient.yml index 21f72dc2e05..08978905adc 100644 --- a/apidoc/Titanium/Network/HTTPClient.yml +++ b/apidoc/Titanium/Network/HTTPClient.yml @@ -493,6 +493,13 @@ properties: type: String permission: read-only + - name: responseDict + summary: Response as JSON object. + description: Set to `null` if the content type returned by the server was not a JSON or if the content could + not be parsed. + type: String + permission: read-only + - name: responseXML summary: Response object as an XML DOM Document object. description: From bf358b16766cd676255465fa98ef66e48f7a54ba Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sat, 31 Aug 2024 17:58:54 +0200 Subject: [PATCH 2/2] fixed name --- apidoc/Titanium/Network/HTTPClient.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apidoc/Titanium/Network/HTTPClient.yml b/apidoc/Titanium/Network/HTTPClient.yml index 08978905adc..d758baa8a6c 100644 --- a/apidoc/Titanium/Network/HTTPClient.yml +++ b/apidoc/Titanium/Network/HTTPClient.yml @@ -493,7 +493,7 @@ properties: type: String permission: read-only - - name: responseDict + - name: responseDictionary summary: Response as JSON object. description: Set to `null` if the content type returned by the server was not a JSON or if the content could not be parsed.