Skip to content

Commit e705c0a

Browse files
committed
Fix typo
1 parent b7b7dee commit e705c0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), {filename: 'bar.jpg
218218
```
219219

220220
#### _Headers_ getHeaders( [**Headers** _userHeaders_] )
221-
This method adds the correct `content-type` header to the provided array of `userHeaders`.
221+
This method adds the correct `content-type` header to the provided array of `userHeaders`.
222222

223223
#### _String_ getBoundary()
224224
Return the boundary of the formData. By default, the boundary consists of 26 `-` followed by 24 numbers
@@ -349,7 +349,7 @@ axios.post('http://example.com', form, {
349349

350350
- ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround.
351351
- ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```).
352-
- ```sbumit``` will not add `content-length` if form length is unknown or not calculable.
352+
- ```submit``` will not add `content-length` if form length is unknown or not calculable.
353353
- Starting version `2.x` FormData has dropped support for `[email protected]`.
354354
- Starting version `3.x` FormData has dropped support for `[email protected]`.
355355

0 commit comments

Comments
 (0)