# HG changeset patch # User Ralph Meijer # Date 1245328858 0 # Node ID 3c45208678fa312a94f84edfc27534b53f481f2b # Parent a321f9300054dbce399536cf3a637cc41ce8f9aa Make 204 responses not result in failure. diff -r a321f9300054 -r 3c45208678fa idavoll/gateway.py --- a/idavoll/gateway.py Thu Jun 18 10:27:11 2009 +0000 +++ b/idavoll/gateway.py Thu Jun 18 12:40:58 2009 +0000 @@ -517,10 +517,11 @@ ) def postNotification(callbackURI): - d = client.getPage(str(callbackURI), + f = getPageWithFactory(str(callbackURI), method='POST', postdata=postdata, headers=headers) + d = f.deferred d.addErrback(log.err) for callbackURI in callbacks: