Restkit

Latest version: v4.2.2

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

2.1.4

Not secure
------------------

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

2.1.3

Not secure
------------------

- Repackaged due to a spurious print.

2.1.2

Not secure
------------------

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

2.1.1

Not secure
-----------------

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

2.1.0

Not secure
------------------

- 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

----------------

- Complete refactoring of pool. Now handle more concurrent connections (priority to read)

- Added full ssl support in restkit. It needs `ssl <http://pypi.python.org/pypi/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 <authentication.html>`_

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.