Mercurial > libervia-pubsub
comparison idavoll/xmpp_error.py @ 3:32e1561cd68e
Added bad-request error.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Sun, 27 Jun 2004 14:05:18 +0000 |
parents | 4cc41776b7d7 |
children | 76efc9114469 |
comparison
equal
deleted
inserted
replaced
2:9701df89c534 | 3:32e1561cd68e |
---|---|
1 conditions = { | 1 conditions = { |
2 'bad-request': {'code': '400', 'type': 'modify'}, | |
2 'not-authorized': {'code': '401', 'type': 'cancel'}, | 3 'not-authorized': {'code': '401', 'type': 'cancel'}, |
3 'item-not-found': {'code': '404', 'type': 'cancel'}, | 4 'item-not-found': {'code': '404', 'type': 'cancel'}, |
4 'feature-not-implemented': {'code': '501', 'type': 'cancel'}, | 5 'feature-not-implemented': {'code': '501', 'type': 'cancel'}, |
5 } | 6 } |
6 | 7 |