Skip to content

Conversation

@jucrouzet
Copy link

As per spec (https://tools.ietf.org/html/rfc7233#page-15) and so in http.STATUS_CODES, the prop name is RangeNotSatisfiableError, not RequestedRangeNotSatisfiableError

@micahr
Copy link
Contributor

micahr commented Dec 9, 2015

Thanks, this changed between Node 12 and 4, (in iojs 3 to be exact) so not everything has caught up yet. In Node 12, it is still a RequestedRangeNotSatisfiableError however.

@jucrouzet
Copy link
Author

Ok, I've added the precision and squashed the commit.
Thanks for the info !

@DonutEspresso
Copy link
Member

Thanks for the PR!

DonutEspresso added a commit that referenced this pull request Dec 17, 2015
416 is 'Range Not Satisfiable' not 'Requested Range Not Satisfiable'
@DonutEspresso DonutEspresso merged commit 945c2b3 into restify:master Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants