@@ -189,6 +189,7 @@ form.submit({
189189- [ _ Void_ append( ** String** _ field_ , ** Mixed** _ value_ [ , ** Mixed** _ options_ ] )] ( https://github.com/form-data/form-data#void-append-string-field-mixed-value--mixed-options- ) .
190190- [ _ Headers_ getHeaders( [ ** Headers** _ userHeaders_ ] )] ( https://github.com/form-data/form-data#array-getheaders-array-userheaders- )
191191- [ _ String_ getBoundary()] ( https://github.com/form-data/form-data#string-getboundary )
192+ - [ _ Void_ setBoundary()] ( https://github.com/form-data/form-data#void-setboundary )
192193- [ _ Buffer_ getBuffer()] ( https://github.com/form-data/form-data#buffer-getbuffer )
193194- [ _ Integer_ getLengthSync()] ( https://github.com/form-data/form-data#integer-getlengthsync )
194195- [ _ Integer_ getLength( ** function** _ callback_ )] ( https://github.com/form-data/form-data#integer-getlength-function-callback- )
@@ -220,11 +221,15 @@ form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), {filename: 'bar.jpg
220221This method adds the correct ` content-type ` header to the provided array of ` userHeaders ` .
221222
222223#### _ String_ getBoundary()
223- Return the boundary of the formData. A boundary consists of 26 ` - ` followed by 24 numbers
224+ Return the boundary of the formData. By default, the boundary consists of 26 ` - ` followed by 24 numbers
224225for example:
225226``` javascript
226227-------------------------- 515890814546601021194782
227228```
229+
230+ #### _ Void_ setBoundary(String _ boundary_ )
231+ Set the boundary string, overriding the default behavior described above.
232+
228233_ Note: The boundary must be unique and may not appear in the data._
229234
230235#### _ Buffer_ getBuffer()
0 commit comments