Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error exception response status #21

Open
nvloff opened this issue May 30, 2010 · 0 comments
Open

Error exception response status #21

nvloff opened this issue May 30, 2010 · 0 comments

Comments

@nvloff
Copy link

nvloff commented May 30, 2010

I've been playing around with django-json-rpc and jsonrpclib. Almost all exceptions in exceptions.py return status 500 which xmlrpclib(that jsonrpclib uses) treats as a serious error and it doesn't parse the response. And most of the errors except OtherError are not really internal server errors and the server responds accurately with an error according to the json rpc spec. So maybe status = 200 is more accurate to known handled exceptions?

nycholas added a commit to nycholas/django-json-rpc that referenced this issue Jul 15, 2012
nycholas added a commit to nycholas/django-json-rpc that referenced this issue Jul 19, 2012
nycholas added a commit to nycholas/django-json-rpc that referenced this issue Jul 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant