./www/py-aiohttp, Async http client/server framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.3, Package name: py36-aiohttp-3.1.3, Maintainer: pkgsrc-users

HTTP client/server for asyncio (PEP 3156).

Features:
* Supports both Client and HTTP Server.
* Supports both Server WebSockets and Client WebSockets out-of-the-box.
* Web-server has Middlewares, Signals and pluggable routing.


Required to run:
[devel/py-setuptools] [converters/py-chardet] [devel/py-attrs] [lang/python36] [databases/py-multidict] [www/py-yarl] [devel/py-async-timeout] [www/py-idna_ssl]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a92941562e422012dcab0a58ce30e6265b4c6f6a
RMD160: c5e388a9c4b5318ff9259feba7b5956677dbd467
Filesize: 739.146 KB

Version history: (Expand)


CVS history: (Expand)


   2018-04-13 13:14:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.1.3

3.1.3:
Fix cancellation broadcast during DNS resolve
   2018-04-06 10:18:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.1.2

3.1.2:
Make LineTooLong exception more detailed about actual data size
Call on_chunk_sent when write_eof takes as a param the last chunk
   2018-04-02 14:58:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.1.1

3.1.1:
Support asynchronous iterators (and asynchronous generators as well) in both \ 
client and server API as request / response BODY payloads.
   2018-03-22 09:02:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.1.0

3.1.0:

Features
- Relax JSON content-type checking in the ClientResponse.json() to allow
  "application/xxx+json" instead of strict "application/json".
- Bump C HTTP parser to version 2.8
- Accept a coroutine as an application factory in web.run_app and gunicorn
  worker.
- Implement application cleanup context
- Make writer.write_headers a coroutine.
- Add tracking signals for getting request/response bodies.
- Deprecate ClientResponseError.code in favor of .status to keep similarity
  with response classes.
- Implement app.add_routes() method.
- Implement web.static() and RouteTableDef.static() API.
- Install a test event loop as default by asyncio.set_event_loop(). The
  change affects aiohttp test utils but backward compatibility is not broken
  for 99.99% of use cases.
- Refactor ClientResponse constructor: make logically required constructor
  arguments mandatory, drop _post_init() method.
- Use app.add_routes() in server docs everywhere
- Websockets refactoring, all websocket writer methods are converted into
  coroutines.
- Provide Content-Range header for Range requests

Bugfixes
- Fix websocket client return EofStream.
- Fix websocket demo.
- Property BaseRequest.http_range now returns a python-like slice when
  requesting the tail of the range. It's now indicated by a negative value in
  range.start rather then in range.stop
- Close a connection if an unexpected exception occurs while sending a request
- Fix firing DNS tracing events.

Improved Documentation
- Change ClientResponse.json() documentation to reflect that it now
  allows "application/xxx+json" content-types
- Document behavior when cchardet detects encodings that are unknown to Python.
- Add diagrams for tracing request life style.
- Drop removed functionality for passing StreamReader as data at client
  side.
   2018-03-15 10:29:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.0.9

3.0.9:
Close a connection if an unexpected exception occurs while sending a request
   2018-03-13 12:46:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.0.8

3.0.8:
Use asyncio.current_task() on Python 3.7
   2018-03-09 09:10:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.0.7

3.0.7:
Fix SSL proxy support by client.
Restore a imperative check in setup.py for python version. The check works in \ 
parallel to environment marker. As effect a error about unsupported Python \ 
versions is raised even on outdated systems with very old setuptools version \ 
installed.
   2018-03-05 10:12:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-aiohttp: updated to 3.0.6

3.0.6:
Add _reuse_address and _reuse_port to web_runner.TCPSite.__slots__.