I would like to use Swazoo to write a simple REST test server. When the server receives a request, some dialog shows it to the user and they provide a response. I subclassed SwazooResource and make sure a request to the server always gets a resource of this type. This class overrides answerTo:
answerTo: aRequest
^self createOkResponseWithContents: (Dialog request: 'Please provide a response')
This however makes the Swazoo server return a 500 response, since all exceptions are catched and handled in Swazoo.HTTPConnection>>produceResponseFor:
Any hints on how to achieve this?