More strange errors

4 views
Skip to first unread message

Pedro Melo

unread,
Oct 3, 2010, 11:21:06 AM10/3/10
to noti...@googlegroups.com
Hi,

just two more :)

If I send a notification to a non-existing destination:

HTTP/1.1 200 OK
Connection: close
Date: Sun, 03 Oct 2010 15:18:54 GMT
Server: TwistedWeb/10.1.0
Content-Type: text/html
Client-Date: Sun, 03 Oct 2010 15:18:54 GMT
Client-Peer: 174.143.203.167:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked

[Failure instance: Traceback (failure with no frames): <class
'twisted.web.error.Error'>: 404 Not Found
]

I was expecting the HTTP status code to be 404, not 200.

Same thing with a bad api-key:

HTTP/1.1 200 OK
Connection: close
Date: Sun, 03 Oct 2010 15:20:15 GMT
Server: TwistedWeb/10.1.0
Content-Type: text/html
Client-Date: Sun, 03 Oct 2010 15:20:16 GMT
Client-Peer: 174.143.203.167:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked

[Failure instance: Traceback (failure with no frames): <class
'twisted.web.error.Error'>: 404 Not Found
]

What is the correct way to detect problems like this?

Thanks,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:me...@simplicidade.org
mailto:me...@simplicidade.org

Jeff Lindsay

unread,
Oct 6, 2010, 2:55:36 PM10/6/10
to noti...@googlegroups.com
These will be resolved with upcoming upgrades.
--
Jeff Lindsay
http://progrium.com
Reply all
Reply to author
Forward
0 new messages