diff --git a/README.md b/README.md index 6a31433..58eed36 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,8 @@ The module ships with the following HttpErrors: * 413 RequestEntityTooLargeError * 414 RequesturiTooLargeError * 415 UnsupportedMediaTypeError -* 416 RequestedRangeNotSatisfiableError +* 416 RangeNotSatisfiableError (For Node >= 4 & iojs >= 3) +* 416 RequestedRangeNotSatisfiableError (For Node 0.x & iojs < 3) * 417 ExpectationFailedError * 418 ImATeapotError * 422 UnprocessableEntityError diff --git a/lib/httpErrors.js b/lib/httpErrors.js index 071fb50..02f87f5 100644 --- a/lib/httpErrors.js +++ b/lib/httpErrors.js @@ -29,7 +29,8 @@ var HttpError = require('./baseClasses/HttpError'); // RequestEntityTooLargeError // RequesturiTooLargeError // UnsupportedMediaTypeError -// RequestedRangeNotSatisfiableError +// RangeNotSatisfiableError (For Node >= 4 & iojs >= 3) +// RequestedRangeNotSatisfiableError (For Node 0.x & iojs < 3) // ExpectationFailedError // ImATeapotError // UnprocessableEntityError