News

2.1.6 / 2010-09-9

  • Fix debian packaging
  • Fix oauth

2.1.4 / 2008-08-11

  • Improve HTTP parsing (backport from Gunicorn)
  • Handle KeyboardInterrupt and SystemExit exceptions in client.

2.1.3 / 2008-08-11

  • Repackaged due to a spurious print.

2.1.2 / 2008-08-11

  • Fix<http://github.com/benoitc/restkit/commit/c176f2905c82b33a69e73ab63ac91784f6d7af08> a nasty bug in BasicAuth

2.1.1/ 2010-08-05

  • Fix clone and __call__, make sure we use original client_opts rather than an instance

2.1.0 / 2010-07-24

  • Added make_params, make_headers method to the Resource allowing you to modify headers and params
  • Added unauthorized method to Resource allowing you to react on 401/403, return True by default
  • make sure default pool is only set one time in the main thread in Resource object
  • Added Resouce.close() method: close the pool connections
  • Added Pool.close() method: clear the pool and stop monitoring
  • Updated Oauth2 module
  • Handle ECONNRESET error in HTTP client
  • Fix keep-alive handling
  • Fix Content-Type headerfor GET
  • Fix “Accept-Encoding” header
  • Fix HttpResponse.close() method
  • Make sure we use ssl when https scheme is used
  • Fix “__call__” and clone() methods from restkit.Resource object.

2.0 / 2010-06-28

  • Complete refactoring of pool. Now handle more concurrent connections (priority to read)
  • Added full ssl support in restkit. It needs ssl module on Python 2.5x
  • New HTTP parser.
  • Added close method to response object to make sure the socket is correctly released.
  • Improved default http client, so form objects can be directly handled.
  • Improved request function

Breaking changes:

  • Default HttpResponse isn’t any more persistent. You have to save it to reuse it. A persistent response will be provided in restkit 2.1 .
  • Deprecate HttpResponse body, unicode_body and body_file properties. They are replaced by body_string and body_stream methods.
  • Resource arguments
  • Complete refactoring of filters. Now they have to be declared when you create a resource or http client. An on_connect method can be used in filter now. This method is used before the connection happen, it’s useful for proxy support for example.
  • Oauth2 filter has been simplfied, see example

1.3.1 / 2010-04-09

  • Fixed Python 2.5 compatibility for ssl connections

1.3 / 2010-04-02

  • Added IPython shell extension (restkit –shell)
  • fix Python 2.5 compatibility
  • fix Eventlet and Gevent spools extensions
  • By default accept all methods in proxy

1.2.1 / 2010-03-08

  • Improve console client

1.2 / 2010-03-06

  • Added GEvent Support
  • Added wsgi_proxy using webob and restkit
  • Improved pool management
  • Make HTTP parsing faster.
  • Fix TeeInput

1.1.3 / 2010-03-04

  • Fix ssl connections

1.1.2 / 2010-03-02

  • More logging information
  • Fix retry loop so an error is raised instead of returning None.

1.1 / 2010-03-01

  • Improved HTTP Parser - Now buffered.
  • Logging facility

1.0 / 2010-02-28

  • New HTTP Parser and major refactoring
  • Added OAuth support
  • Added HTTP Filter
  • Added support of chunked encoding
  • Removed rest.RestClient
  • Add Connection pool working with Eventlet 0.9.6