Type WebRequestBody.formData (#10205)

This commit is contained in:
NN
2016-07-23 23:38:44 -07:00
committed by Mohamed Hegazy
parent b8de53efe8
commit 6e9e49ad9e
+1 -1
View File
@@ -7219,7 +7219,7 @@ declare namespace chrome.webRequest {
* Optional.
* If the request method is POST and the body is a sequence of key-value pairs encoded in UTF8, encoded as either multipart/form-data, or application/x-www-form-urlencoded, this dictionary is present and for each key contains the list of all values for that key. If the data is of another media type, or if it is malformed, the dictionary is not present. An example value of this dictionary is {'key': ['value1', 'value2']}.
*/
formData?: Object;
formData?: { [key: string]: string[] };
/**
* Optional.
* If the request method is PUT or POST, and the body is not already parsed in formData, then the unparsed request body elements are contained in this array.