Fedora 20 Update: python3-dugong-3.2-1.fc20

updates at fedoraproject.org updates at fedoraproject.org
Fri Aug 15 02:39:00 UTC 2014


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2014-9106
2014-08-01 23:16:44
--------------------------------------------------------------------------------

Name        : python3-dugong
Product     : Fedora 20
Version     : 3.2
Release     : 1.fc20
URL         : https://bitbucket.org/nikratio/python-dugong
Summary     : Python 3.x HTTP 1.1 client module
Description :
The Python Dugong module provides an API for communicating with HTTP 1.1
servers. It is an alternative to the standard library's http.client
(formerly httplib) module. In contrast to http.client, Dugong:

- Allows you to send multiple requests right after each other without
having to read the responses first.

- Supports waiting for 100-continue before sending the request body.

- Raises an exception instead of silently delivering partial data if the
connection is closed before all data has been received.

- Raises one specific exception (ConnectionClosed) if the connection has been
closed (while http.client connection may raise any of BrokenPipeError,
~http.client.BadStatusLine, ConnectionAbortedError, ConnectionResetError,
~http.client.IncompleteRead or simply return '' on read)

- Supports non-blocking, asynchronous operation and is compatible with the
asyncio module.

- Not compatible with old HTTP 0.9 or 1.0 servers.

All request and response headers are represented as str, but must be encodable
in latin1. Request and response body must be bytes-like objects or binary
streams.

--------------------------------------------------------------------------------
Update Information:

Release 3.2 (2014-07-27)
========================

* A `HTTPConnection` instance can now be used as a context manager.
* If a connection is closed unexpectedly while request body data is being written to the server (i.e., during a call to `HTTPConnection.write` or `HTTPConnection.co_write`), dugong now pretends that the body has been sent to the server completely (while still raising `ConnectionClosed`). This makes it possible to catch the exception and nevertheless call `~HTTPConnection.read_response` (or `~HTTPConnection.co_read_response`) to try to read an error response that the server may have sent during the upload (if no response has been received, `ConnectionClosed` will be raised again).
* `is_temp_network_error` now actively tries to distinguish between permanent and temporary name resolution problems by attempting to resolve a number of test hostnames.
* `HTTPConnection` has a new `~HTTPConnection.timeout` attribute. Regular `HTTPConnection` methods (i.e., no coroutines) will now raise `ConnectionTimedOut` if no data could be send or received for *timeout* seconds.
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1124253 - python3-dugong-3.2 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1124253
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use
su -c 'yum update python3-dugong' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list