You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cn...@apache.org on 2019/12/12 12:42:01 UTC
[incubator-weex-site] branch 402 updated: fix 402
This is an automated email from the ASF dual-hosted git repository.
cnryb pushed a commit to branch 402
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
The following commit(s) were added to refs/heads/402 by this push:
new 8295342 fix 402
8295342 is described below
commit 8295342de23fa6244f38f855256fa55bddb395cf
Author: 任跃兵 <yu...@zhaopin.com.cn>
AuthorDate: Thu Dec 12 20:36:12 2019 +0800
fix 402
---
docs/docs/modules/stream.md | 2 +-
docs/zh/docs/modules/stream.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/docs/modules/stream.md b/docs/docs/modules/stream.md
index d20c884..92d73f6 100644
--- a/docs/docs/modules/stream.md
+++ b/docs/docs/modules/stream.md
@@ -13,7 +13,7 @@ Start a network request, use two callbacks to receive server's response data.
* **@options**, the request options, key value style dictionary.
* **`method`**, string, the HTTP method `GET` or `POST`.
* **`url`**, string, the request url.
- * **`headers`**, string, the HTTP request headers.
+ * **`headers`**, object, the HTTP request headers.
* **`type`**, string, response type, 'json','text' or 'jsonp'(same as 'json' in native implementation)
* **`body`**, string, the HTTP body.
diff --git a/docs/zh/docs/modules/stream.md b/docs/zh/docs/modules/stream.md
index bdb28d7..a3cca98 100644
--- a/docs/zh/docs/modules/stream.md
+++ b/docs/zh/docs/modules/stream.md
@@ -13,7 +13,7 @@
* **@options**, 请求的配置选项,支持以下配置
* **`method`**, string, HTTP 请求方法,值为 `GET`/`POST`/`PUT`/`DELETE`/`PATCH`/`HEAD`
* **`url`**, string, 请求的 URL | string
- * **`headers`**, string, HTTP 请求头
+ * **`headers`**, object, HTTP 请求头
* **`type`**, string, 响应类型:`json`,`text` 或是 `jsonp`(在 native 原生实现中其实与 `json` 相同)
* **`body`**, string, HTTP 请求体