changeset 19:53b1bea9289b

Added two errors
author Ralph Meijer <ralphm@ik.nu>
date Wed, 06 Oct 2004 21:01:13 +0000
parents 7937d6fbbe2a
children eddea65d1032
files idavoll/xmpp_error.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/xmpp_error.py	Mon Aug 30 17:41:18 2004 +0000
+++ b/idavoll/xmpp_error.py	Wed Oct 06 21:01:13 2004 +0000
@@ -4,6 +4,8 @@
 	'bad-request':				{'code': '400', 'type': 'modify'},
 	'not-authorized':			{'code': '401', 'type': 'cancel'},
 	'item-not-found':			{'code': '404', 'type': 'cancel'},
+	'not-acceptable':			{'code': '406', 'type': 'modify'},
+	'conflict':					{'code': '409', 'type': 'cancel'},
 	'internal-server-error':	{'code': '500', 'type': 'wait'},
 	'feature-not-implemented':	{'code': '501', 'type': 'cancel'},
 	'service-unavailable':		{'code': '503', 'type': 'cancel'},