mbr / tinyrpc

A compact, modular transport and protocol agnostic RPC library. Does jsonrpc v2.
https://tinyrpc.readthedocs.org
MIT License
156 stars 53 forks source link

Allow requests with unique_id==0 #33

Closed gsalgado closed 7 years ago

gsalgado commented 7 years ago

Closes #27

gsalgado commented 7 years ago

It might make sense to change respond() and error_respond() to return a valid JSON response even when unique_id is not present in the request, but then it's not clear what value they should use as unique_id in that response, so I decided not to do that.

lnoor commented 7 years ago

Thanks for contributing. A new release with your changes will become available in a few weeks.