jshttp / http-assert

assert with status codes
MIT License
151 stars 14 forks source link

5xx should disable .expose #2

Closed tj closed 10 years ago

tj commented 10 years ago

and allow for assert(val, 'message here') == 500 unless that's already supported

eivindfjeldstad commented 10 years ago

Yeah, you're right. I just yanked it straight out of ctx.throw so it doesn't support that right now.

tj commented 10 years ago

yea i should change it there too

eivindfjeldstad commented 10 years ago

v1.0.0 has the fix

eivindfjeldstad commented 10 years ago

nah, forgot to rename a var. use v1.0.1:)