Comment 1 for bug 1182155

Revision history for this message
Gil Vernik (gilv) wrote :

@gholt; Before i start working on this one i want better understand what we want to achieve here. So if Accept: application / json than you expect swob to return an exception in JSON, like
{ 'title': 'xxx', 'description:'yyyy'}
?
All existing Swift customers and their various client tools currently expect HTML error and now they will receive JSON.
There is no doubt about the bug you reported, but still - do we really want to change existing API? i am a bit concern about it..
What do you think about?