]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: uploadData is optional
authorCheng Zhao <zcbenz@gmail.com>
Thu, 28 Jan 2016 10:59:58 +0000 (18:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 28 Jan 2016 10:59:58 +0000 (18:59 +0800)
docs/api/protocol.md

index 1c778b71a7c8b4f9d7ecafea318eaf91b857f9bf..e57a34ef89b5b15901a73350c7911e84484e55e0 100644 (file)
@@ -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`.