ensure http errors reject promises

This commit is contained in:
Leo Horie 2014-05-26 21:57:09 -04:00
parent ea0b661b79
commit b9cdd940bc
4 changed files with 18 additions and 19 deletions

View file

@ -14,6 +14,7 @@
- Throwing exceptions within `m.request` now follow the same resolution procedure as `m.deferred` [#86](https://github.com/lhorie/mithril.js/issues/85)
- Promises now always update their `m.prop` on success (and leave the m.prop alone on error)
- Nested arrays no longer cause double removal of elements [#87](https://github.com/lhorie/mithril.js/issues/87)
- HTTP error codes now correctly reject promises
---