Skip to content

Commit

Permalink
docs: document when content-length gets added
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 30, 2024
1 parent edd401b commit abe7203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/@fetch-mock/core/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Options marked with a `†` can also be overridden for individual calls to `.moc

`{Boolean}` default: `true`

Sets a `Content-Length` header on each response.
Sets a `Content-Length` header on each response, with the exception of responses whose body is a `FormData` or `ReadableStream` instance as these are hard/impossible to calculate up front.

### matchPartialBody

Expand Down

0 comments on commit abe7203

Please sign in to comment.