Pylons / pyramid_rpc

RPC plugins for pyramid. XML-RPC, JSON-RPC, etc.
https://docs.pylonsproject.org/projects/pyramid-rpc/en/latest/
Other
27 stars 20 forks source link

decide how to handle json-rpc responses #24

Closed mmerickel closed 11 years ago

mmerickel commented 12 years ago

Rationalize in my head why I chose to have notifications return a "204 No Content" but everything else, including errors, returns "200 OK".

I think notifications should probably return a 200 with a null body, instead of the current behavior.

There was a notion of supporting the draft "JSON-RPC over HTTP" specification but it still feels very much like a draft to me.