Skip to content

Commit

Permalink
http: add ERR_HTTP_BODY_NOT_ALLOWED to errors.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrard00 committed May 1, 2023
1 parent 30aa3f9 commit 68a2fe6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1338,10 +1338,16 @@ When using [`fs.cp()`][], `src` or `dest` pointed to an invalid path.

<a id="ERR_FS_CP_FIFO_PIPE"></a>

### `ERR_HTTP_CONTENT_LENGTH_MISMATCH`
### `ERR_HTTP_BODY_NOT_ALLOWED`

Response body size doesn't match with the specified content-length header value.

<a id="ERR_HTTP_BODY_NOT_ALLOWED"></a>

### `ERR_HTTP_CONTENT_LENGTH_MISMATCH`

An error is thrown if when writing to an HTTP response which does not allow contents.

<a id="ERR_HTTP_CONTENT_LENGTH_MISMATCH"></a>

### `ERR_FS_CP_FIFO_PIPE`
Expand Down

0 comments on commit 68a2fe6

Please sign in to comment.