From: Cheng Zhao Date: Thu, 28 Jan 2016 10:59:58 +0000 (+0800) Subject: docs: uploadData is optional X-Git-Tag: v0.36.6~7 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d195cc3796528b3c24886ec3ca4970f8c240c1a2;p=electron.git docs: uploadData is optional --- diff --git a/docs/api/protocol.md b/docs/api/protocol.md index 1c778b71..e57a34ef 100644 --- a/docs/api/protocol.md +++ b/docs/api/protocol.md @@ -132,7 +132,7 @@ should be called with a `redirectRequest` object that has the `url`, `method`, * `url` String * `method` String * `session` Object (optional) - * `uploadData` Object + * `uploadData` Object (optional) By default the HTTP request will reuse the current session. If you want the request to have a different session you should set `session` to `null`.