comparison idavoll/xmpp_error.py @ 19:53b1bea9289b

Added two errors
author Ralph Meijer <ralphm@ik.nu>
date Wed, 06 Oct 2004 21:01:13 +0000
parents 226a97dd79ff
children 5191ba7c4df8
comparison
equal deleted inserted replaced
18:7937d6fbbe2a 19:53b1bea9289b
2 2
3 conditions = { 3 conditions = {
4 'bad-request': {'code': '400', 'type': 'modify'}, 4 'bad-request': {'code': '400', 'type': 'modify'},
5 'not-authorized': {'code': '401', 'type': 'cancel'}, 5 'not-authorized': {'code': '401', 'type': 'cancel'},
6 'item-not-found': {'code': '404', 'type': 'cancel'}, 6 'item-not-found': {'code': '404', 'type': 'cancel'},
7 'not-acceptable': {'code': '406', 'type': 'modify'},
8 'conflict': {'code': '409', 'type': 'cancel'},
7 'internal-server-error': {'code': '500', 'type': 'wait'}, 9 'internal-server-error': {'code': '500', 'type': 'wait'},
8 'feature-not-implemented': {'code': '501', 'type': 'cancel'}, 10 'feature-not-implemented': {'code': '501', 'type': 'cancel'},
9 'service-unavailable': {'code': '503', 'type': 'cancel'}, 11 'service-unavailable': {'code': '503', 'type': 'cancel'},
10 } 12 }
11 13