Skip to content

Commit

Permalink
fix: removed TODO (#47)
Browse files Browse the repository at this point in the history
Refs: #35
  • Loading branch information
ronag authored May 3, 2020
1 parent 4c0c428 commit 3ccdb38
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 3ccdb38

Please sign in to comment.