by Gerold Penz 2013-2014
2014-10-21
- New Alias ServiceProxy added. For better compatibility to other libraries.
- Request.from_string() added
- Request.to_string() added
- Examples added
2014-10-21
- New Alias ServiceMethod added, for the @pyjsonrpc.rpcmethod-decorator.
2014-10-11
HTTP-Server: The content-type is changeable, now. Default content-type stays "application/json". If you want to change the content-type:
class RequestHandler(pyjsonrpc.HttpRequestHandler): content-type = "application/json-rpc" ...
HTTP-Server GET-Request: Check if method name given
2014-09-12
- Descriptions
2014-09-12
- The new decorator @pyjsonrpc.rpcmethod signs methods as JSON-RPC-Methods.
- Examples with the new rpcmethod-decorator added.
- I think, python-jsonrpc is stable enough to set the classifier to "Development Status :: 5 - Production/Stable".
2014-09-12
- HttpClient: cookies-parameter added. Now, it is possible to add simple cookie-items.
2014-09-12
- HttpClient: New parameters added: - additional_headers: Possibility to add additional header items. - content_type: Possibility to change the content-type header.
2014-08-19
HttpClient: The new timeout parameter specifies a timeout in seconds for blocking operations like the connection attempt (if not specified, the global default timeout setting will be used). Thanks geerk :-)
See: gerold-penz#6
2014-06-28
- It is now possible to send multiple calls in one request.
- multiple_example.py added.
2014-06-28
- Bunch is now a setup-dependency.
- The new method HttpClient.notify sends notifications to the server, without id as parameter.
2013-07-07
- Tests with CGI reqeusts
2013-07-07
- Better HTTP server example
- Deleted the rpcjson.json import from __init__.py.
- The Method do_POST handles HTTP-POST requests
- CGI handler created
- CGI example created
2013-07-06
- Tests with BaseHTTPServer
- Moved JsonRpc-class from __init__.py to rpclib.py.
- ThreadingHttpServer created
- HttpRequestHandler created
- The Method do_GET handles HTTP-GET requests
- Created HTTP server example
2013-07-06
- Small new feature in HttpClient: Class instance calls will be redirected to
self.call. Now this is possible:
http_client("add", 1, 2)
.
2013-07-04
- Try to import fast JSON-libraries at first:
- try to use jsonlib2
- try to use simplejson
- use builtin json
- To simplify the code, now we use bunch. Bunch is a dictionary that supports attribute-style access.
2013-07-03
- RPC-Errors are now better accessible
2013-06-30
- Now, it is possible to use the method name as attribute name for HTTP-JSON-RPC Requests.
2013-06-30
- rcperror-Module: Error classes shortened.
- Response.from_error-method deleted. I found a better way (not so complex) to deliver error messages.
- New simple_example.py
- Examples directory structure changed
- HTTP-Request
- HTTP-Client
- HTTP-Client examples
2013-06-24
- Splitted into several modules
- New response-class
2013-06-23
- Return of the Response-Object improved
2013-06-23
- Added a system.describe-method (not finished yet)
- Added examples
- Added parse_json_response-function
2013-06-23
- Responses module deleted
- call-method finished
- Simple example
2013-06-23
- Responses splitted into successful response and errors
- call-function
2013-06-23
- Error module created
- Responses module created
- Base structure
2013-06-23
- Initialy imported