Skip to content

Commit

Permalink
doc: removed TODO
Browse files Browse the repository at this point in the history
Refs: nodejs#35
  • Loading branch information
ronag committed May 3, 2020
1 parent 8ae7358 commit e030734
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class Request extends AsyncResource {
}
this.path = opts.path

// TODO we should validate that the http method accepts a body or not
if (!isValidBody(opts.body)) {
throw new Error('body must be a string, a Buffer or a Readable stream')
}
Expand Down

0 comments on commit e030734

Please sign in to comment.