Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #60 from domob1812/simpleserver-versionHEADmaster | Josh Marshall | 2021-04-02 | 1 | -0/+1 |
|\ | | | | | Pass down API version in SimpleJSONRPCServer. | ||||
| * | Pass down API version in SimpleJSONRPCServer. | Daniel Kraft | 2018-06-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | JSON-RPC version 1.0 requires the 'error' key to be set in the response even if there is no error. This is correctly implemented Payload.response -- but for that to work, the API version has to be passed down in SimpleJSONRPCServer when it calls dumps to construct the response. This was missing, so that JSON-RPC 1.0 requests were answered with a 2.0 response. | ||||
* | | Bypassing TCP sockopts for Unix sockets, fixing Unix teardowns. | Josh Marshall | 2021-03-30 | 1 | -0/+8 |
| | | |||||
* | | Removing Python 2 fallbacks, tweaking test runners, fixing flake8 errors. | Josh Marshall | 2021-03-30 | 4 | -119/+70 |
| | | |||||
* | | Merge pull request #48 from joshmarshall/truncate-history | Josh Marshall | 2021-03-30 | 1 | -0/+9 |
|\ \ | | | | | | | Adding history configuration. | ||||
| * | | Adding history configuration.truncate-history | Joshua Marshall | 2015-12-14 | 1 | -0/+9 |
| |/ | | | | | | | | | | | Truncating request and response history to 20 entries by default, allowing history.size to specify a discrete number of entries (positive), unlimited entries (less than 0), or no history (zero). | ||||
* | | Remove HTTP class and use HTTPConnection instead. Fixes bug for Python 3.x ↵ | Paul Smith | 2017-06-28 | 2 | -6/+6 |
| | | | | | | | | on linux. | ||||
* | | Put in some changes suggested by Josh | Paul Smith | 2017-05-20 | 3 | -17/+24 |
| | | |||||
* | | method name now checked against string and unicode for python 2.7 | Paul Smith | 2017-05-14 | 1 | -2/+5 |
| | | |||||
* | | Try again | Paul Smith | 2017-05-13 | 1 | -0/+1 |
| | | |||||
* | | Python 3.x compatibility. Tests pass, need to retest on python 2.7. | Paul Smith | 2017-05-13 | 3 | -65/+65 |
|/ | |||||
* | Merge upstream master into master | efokschaner | 2015-10-08 | 5 | -101/+146 |
|\ | |||||
| * | Initial travis integration, cleanups for running tests. | Joshua Marshall | 2015-10-05 | 5 | -100/+140 |
| | | |||||
| * | Fix for issue 34 | Robert Ayrapetyan | 2015-03-04 | 1 | -2/+7 |
| | | | | | | Fix for https://github.com/joshmarshall/jsonrpclib/issues/34 | ||||
* | | Revert to xmlrpclib implementation of _Method.__getattr__ | Edmund Fokschaner | 2015-09-26 | 1 | -5/+1 |
| | | |||||
* | | Fixing bug with jsonrpc._Method caused by debugger | Edmund Fokschaner | 2013-12-06 | 1 | -0/+9 |
|/ | | | | | | Adding __repr__, __str__ and __dir__ to jsonrpc._Method in order to avoid issues with PyCharm debugger due to these functions being called and accessing __getattr__ which mutates the _Method object | ||||
* | Fix importing of nested modules. | Jon Salz | 2012-04-20 | 1 | -0/+7 |
| | | | | https://github.com/joshmarshall/jsonrpclib/issues/15 | ||||
* | Getting rid of the silly copyright statements. | Josh Marshall | 2011-02-26 | 1 | -1/+0 |
| | |||||
* | Added minimal discovery for whether unix sockets are supported, and ↵ | Josh Marshall | 2011-02-26 | 2 | -18/+40 |
| | | | | prevented access if they are missing. | ||||
* | Merge branch 'quentinmit-master' | Josh Marshall | 2011-02-12 | 2 | -8/+43 |
|\ | |||||
| * | Support unix:/foo/bar URLs for the client | Quentin Smith | 2011-01-23 | 1 | -7/+30 |
| | | |||||
| * | Allow the specification of address_family for JSONRPC servers, and | Quentin Smith | 2011-01-23 | 1 | -1/+13 |
| | | | | | | | | unlink UNIX sockets before binding them | ||||
* | | Fixed cjson import error and random id on Windows error. | Josh Marshall | 2011-02-12 | 1 | -15/+14 |
|/ | |||||
* | Initial SSL modifications for client. | Josh Marshall | 2010-11-03 | 1 | -6/+8 |
| | |||||
* | Making corrections for 2.7 compatibility (which mostly means bypassing the ↵ | Josh Marshall | 2010-10-30 | 1 | -14/+24 |
| | | | | xml parsers by overwriting Transport.getparser) | ||||
* | Setting fcntl to None if not importable, adding tests module, updating ↵ | Josh Marshall | 2010-10-26 | 2 | -11/+6 |
| | | | | README to markdown. | ||||
* | Removed /RPC2 default setting -- this isn't part of the JSON-RPC spec. | catchjosh | 2010-09-10 | 1 | -1/+2 |
| | | | | git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@20 ae587032-bbab-11de-869a-473eb4776397 | ||||
* | ...and adding the newly named jsonrpc.py (from jsonrpclib.py). | catchjosh | 2010-09-04 | 1 | -0/+503 |
| | | | | git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@19 ae587032-bbab-11de-869a-473eb4776397 | ||||
* | Added unit tests, renamed to follow absolute importing guidelines, and made ↵ | catchjosh | 2010-09-04 | 5 | -513/+62 |
| | | | | | | minor corrections introduced by unit tests. git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@18 ae587032-bbab-11de-869a-473eb4776397 | ||||
* | ProtocolErrors raise a (code, message) tuple instead of a string as per ↵ | catchjosh | 2010-06-15 | 1 | -1/+1 |
| | | | | | | request in issue #6. git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@17 ae587032-bbab-11de-869a-473eb4776397 | ||||
* | Fixed issue #3 - fixed bad function call. | catchjosh | 2010-06-15 | 1 | -1/+1 |
| | | | | git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@16 ae587032-bbab-11de-869a-473eb4776397 | ||||
* | SimpleJSONRPCServer works on Python 2.5 | yucetekol | 2009-11-03 | 1 | -2/+9 |
| | | | | git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@14 ae587032-bbab-11de-869a-473eb4776397 | ||||
* | Oops -- NOW adding the new jsonrpclib/ files (jsonclass, config, history, ↵ | catchjosh | 2009-11-02 | 6 | -0/+892 |
__init__) git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@13 ae587032-bbab-11de-869a-473eb4776397 |