summaryrefslogtreecommitdiff
path: root/jsonrpclib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #60 from domob1812/simpleserver-versionHEADmasterJosh Marshall2021-04-021-0/+1
|\ | | | | Pass down API version in SimpleJSONRPCServer.
| * Pass down API version in SimpleJSONRPCServer.Daniel Kraft2018-06-271-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 Marshall2021-03-301-0/+8
| |
* | Removing Python 2 fallbacks, tweaking test runners, fixing flake8 errors.Josh Marshall2021-03-304-119/+70
| |
* | Merge pull request #48 from joshmarshall/truncate-historyJosh Marshall2021-03-301-0/+9
|\ \ | | | | | | Adding history configuration.
| * | Adding history configuration.truncate-historyJoshua Marshall2015-12-141-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 Smith2017-06-282-6/+6
| | | | | | | | on linux.
* | Put in some changes suggested by JoshPaul Smith2017-05-203-17/+24
| |
* | method name now checked against string and unicode for python 2.7Paul Smith2017-05-141-2/+5
| |
* | Try againPaul Smith2017-05-131-0/+1
| |
* | Python 3.x compatibility. Tests pass, need to retest on python 2.7.Paul Smith2017-05-133-65/+65
|/
* Merge upstream master into masterefokschaner2015-10-085-101/+146
|\
| * Initial travis integration, cleanups for running tests.Joshua Marshall2015-10-055-100/+140
| |
| * Fix for issue 34Robert Ayrapetyan2015-03-041-2/+7
| | | | | | Fix for https://github.com/joshmarshall/jsonrpclib/issues/34
* | Revert to xmlrpclib implementation of _Method.__getattr__Edmund Fokschaner2015-09-261-5/+1
| |
* | Fixing bug with jsonrpc._Method caused by debuggerEdmund Fokschaner2013-12-061-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 Salz2012-04-201-0/+7
| | | | https://github.com/joshmarshall/jsonrpclib/issues/15
* Getting rid of the silly copyright statements.Josh Marshall2011-02-261-1/+0
|
* Added minimal discovery for whether unix sockets are supported, and ↵Josh Marshall2011-02-262-18/+40
| | | | prevented access if they are missing.
* Merge branch 'quentinmit-master'Josh Marshall2011-02-122-8/+43
|\
| * Support unix:/foo/bar URLs for the clientQuentin Smith2011-01-231-7/+30
| |
| * Allow the specification of address_family for JSONRPC servers, andQuentin Smith2011-01-231-1/+13
| | | | | | | | unlink UNIX sockets before binding them
* | Fixed cjson import error and random id on Windows error.Josh Marshall2011-02-121-15/+14
|/
* Initial SSL modifications for client.Josh Marshall2010-11-031-6/+8
|
* Making corrections for 2.7 compatibility (which mostly means bypassing the ↵Josh Marshall2010-10-301-14/+24
| | | | xml parsers by overwriting Transport.getparser)
* Setting fcntl to None if not importable, adding tests module, updating ↵Josh Marshall2010-10-262-11/+6
| | | | README to markdown.
* Removed /RPC2 default setting -- this isn't part of the JSON-RPC spec.catchjosh2010-09-101-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).catchjosh2010-09-041-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 ↵catchjosh2010-09-045-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 ↵catchjosh2010-06-151-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.catchjosh2010-06-151-1/+1
| | | | git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@16 ae587032-bbab-11de-869a-473eb4776397
* SimpleJSONRPCServer works on Python 2.5yucetekol2009-11-031-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, ↵catchjosh2009-11-026-0/+892
__init__) git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@13 ae587032-bbab-11de-869a-473eb4776397