From acd39c21ac77cb34be40afe6a072afd237f8be44 Mon Sep 17 00:00:00 2001 From: liuleimin_hw Date: Fri, 22 Aug 2025 07:05:39 +0000 Subject: [PATCH 1/3] update api/@ohos.net.http.d.ts. Signed-off-by: liuleimin_hw --- api/@ohos.net.http.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index 7656c2864e..c8c42cb1f2 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -306,12 +306,12 @@ declare namespace http { /** * HTTP request header. default is 'content-type': 'application/json' - * @type {?Record} + * @type {?Record} * @syscap SystemCapability.Communication.NetStack * @since 20 * @arkts 1.2 */ - header?: Record; + header?: Record; /** * Read timeout period. The default value is 60,000, in ms. -- Gitee From 0724caf269b4ec460cfa4dd16f6d980b6e870e2e Mon Sep 17 00:00:00 2001 From: liuleimin_hw Date: Fri, 22 Aug 2025 07:07:08 +0000 Subject: [PATCH 2/3] update api/@ohos.net.http.d.ts. Signed-off-by: liuleimin_hw --- api/@ohos.net.http.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index c8c42cb1f2..20cdfa0c3c 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -3942,12 +3942,12 @@ declare namespace http { /** * All headers in the response from the server. - * @type {Record} + * @type {Record} * @syscap SystemCapability.Communication.NetStack * @since 20 * @arkts 1.2 */ - header: Record; + header: Record; /** * Cookies returned by the server. -- Gitee From 3b454ebf0b8be67e0ed5908fa261a90fef4dcaf5 Mon Sep 17 00:00:00 2001 From: liuleimin_hw Date: Fri, 22 Aug 2025 07:08:01 +0000 Subject: [PATCH 3/3] update api/@ohos.net.webSocket.d.ts. Signed-off-by: liuleimin_hw --- api/@ohos.net.webSocket.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.net.webSocket.d.ts b/api/@ohos.net.webSocket.d.ts index 102539b2f3..3fc2705f33 100644 --- a/api/@ohos.net.webSocket.d.ts +++ b/api/@ohos.net.webSocket.d.ts @@ -124,12 +124,12 @@ declare namespace webSocket { /** * HTTP request header. - * @type {?Record} + * @type {?Record} * @syscap SystemCapability.Communication.NetStack * @since 20 * @arkts 1.2 */ - header?: Record; + header?: Record; /** * File path for client cert. -- Gitee