docs: UploadData does not have contentType (#19026)
This commit is contained in:
parent
23b8c9c917
commit
1d8e16bc6e
5 changed files with 7 additions and 7 deletions
4
docs/api/structures/protocol-response-upload-data.md
Normal file
4
docs/api/structures/protocol-response-upload-data.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# ProtocolResponseUploadData Object
|
||||
|
||||
* `contentType` String - MIME type of the content.
|
||||
* `data` String - Content to be sent.
|
|
@ -28,9 +28,7 @@
|
|||
* `session` Session (optional) - The session used for requesting URL, by default
|
||||
the HTTP request will reuse the current session. Setting `session` to `null`
|
||||
would use a random independent session. This is only used for URL responses.
|
||||
* `uploadData` Object (optional) - The data used as upload data. This is only
|
||||
* `uploadData` ProtocolResponseUploadData (optional) - The data used as upload data. This is only
|
||||
used for URL responses when `method` is `"POST"`.
|
||||
* `contentType` String - MIME type of the content.
|
||||
* `data` String - Content to be sent.
|
||||
|
||||
[net-error]: https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# UploadData Object
|
||||
|
||||
* `contentType` String (optional) - Content type of the content to be sent.
|
||||
* `bytes` Buffer - Content being sent.
|
||||
* `file` String (optional) - Path of file being uploaded.
|
||||
* `blobUUID` String (optional) - UUID of blob data. Use [ses.getBlobData](../session.md#sesgetblobdataidentifier) method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue