[Python-modules-commits] [python-aiohttp] 01/02: Import python-aiohttp_0.22.1.orig.tar.gz
Piotr Ożarowski
piotr at moszumanska.debian.org
Sat Jul 23 20:29:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch upstream
in repository python-aiohttp.
commit b5b21e001086ed12a3ca01b441622206882a3fd9
Author: Piotr Ożarowski <piotr at debian.org>
Date: Sat Jul 23 15:05:58 2016 +0200
Import python-aiohttp_0.22.1.orig.tar.gz
---
CHANGES.txt | 104 +-
CONTRIBUTORS.txt | 18 +-
Makefile | 16 +-
PKG-INFO | 148 +-
README.rst | 42 +-
aiohttp.egg-info/PKG-INFO | 148 +-
aiohttp.egg-info/SOURCES.txt | 25 +-
aiohttp.egg-info/pbr.json | 1 -
aiohttp.egg-info/requires.txt | 1 +
aiohttp/__init__.py | 30 +-
aiohttp/_multidict.c | 17283 -------------------
aiohttp/_multidict.pyx | 653 -
aiohttp/_websocket.c | 251 +-
aiohttp/abc.py | 67 +-
aiohttp/client.py | 118 +-
aiohttp/client_reqrep.py | 55 +-
aiohttp/connector.py | 150 +-
aiohttp/errors.py | 12 +-
aiohttp/file_sender.py | 136 +
aiohttp/hdrs.py | 2 +-
aiohttp/helpers.py | 364 +-
aiohttp/multidict.py | 385 -
aiohttp/multipart.py | 100 +-
aiohttp/protocol.py | 90 +-
aiohttp/pytest_plugin.py | 67 +
aiohttp/resolver.py | 74 +
aiohttp/server.py | 43 +-
aiohttp/streams.py | 26 +-
aiohttp/test_utils.py | 346 +-
aiohttp/web.py | 186 +-
aiohttp/web_exceptions.py | 13 +
aiohttp/web_reqrep.py | 119 +-
aiohttp/web_urldispatcher.py | 715 +-
aiohttp/web_ws.py | 10 +
aiohttp/websocket.py | 22 +-
aiohttp/worker.py | 56 +-
docs/abc.rst | 126 +
docs/aiohttp_doctools.py | 27 -
docs/api.rst | 10 +-
docs/client.rst | 276 +-
docs/client_reference.rst | 235 +-
docs/conf.py | 18 +-
docs/faq.rst | 83 +
docs/glossary.rst | 20 +-
docs/gunicorn.rst | 10 +-
docs/index.rst | 49 +-
docs/logging.rst | 25 +-
docs/multidict.rst | 375 -
docs/multipart.rst | 2 +-
docs/new_router.rst | 84 +
docs/python33.rst | 15 -
docs/server.rst | 34 +-
docs/testing.rst | 212 +
docs/tutorial.rst | 237 +
docs/web.rst | 330 +-
docs/web_reference.rst | 535 +-
examples/basic_srv.py | 4 +-
examples/cli_app.py | 54 +
examples/crawl.py | 21 +-
examples/curl.py | 4 +-
examples/mpsrv.py | 4 +-
examples/srv.py | 2 +-
examples/tcp_protocol_parser.py | 2 +-
examples/wssrv.py | 4 +-
setup.cfg | 2 +-
setup.py | 5 +-
tests/conftest.py | 38 +-
tests/test_classbasedview.py | 4 +
tests/test_client_functional.py | 82 +-
tests/test_client_functional_oldstyle.py | 165 +-
tests/test_client_request.py | 33 +-
tests/test_client_response.py | 51 +-
tests/test_client_session.py | 45 +-
tests/test_connector.py | 140 +-
tests/test_helpers.py | 483 +-
tests/test_http_parser.py | 109 +-
tests/test_multidict.py | 857 -
tests/test_multipart.py | 138 +-
tests/test_protocol.py | 31 +-
tests/test_py35/test_resp.py | 43 +
tests/test_py35/test_streams_35.py | 7 +
tests/test_py35/test_web_websocket_35.py | 5 +-
tests/test_pytest_plugin.py | 99 +
tests/test_resolver.py | 114 +
tests/test_run_app.py | 61 +
tests/test_server.py | 37 +-
tests/test_signals.py | 16 +-
tests/test_streams.py | 46 +-
tests/test_test_utils.py | 167 +
tests/test_timeout.py | 31 +-
tests/test_urldispatch.py | 374 +-
tests/test_web_application.py | 57 +-
tests/test_web_cli.py | 121 +
tests/test_web_exceptions.py | 14 +-
tests/test_web_functional.py | 205 +-
tests/test_web_request.py | 69 +-
tests/test_web_response.py | 11 +-
tests/test_web_urldispatcher.py | 65 +
tests/test_web_websocket.py | 16 +-
tests/test_web_websocket_functional.py | 482 +-
...y => test_web_websocket_functional_oldstyle.py} | 24 +-
tests/test_websendfile.py | 71 +
tests/test_websocket_client.py | 38 +-
tests/test_websocket_client_functional.py | 53 +-
tests/test_websocket_handshake.py | 2 +-
tests/test_websocket_writer.py | 4 +
tests/test_worker.py | 58 +-
tests/test_wsgi.py | 28 +-
108 files changed, 7291 insertions(+), 21884 deletions(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index 84d44de..6eccd88 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,11 +1,105 @@
CHANGES
=======
-0.20.2 (01-07-2015)
---------------------
+0.22.1 (08-16-2016)
+-------------------
-- Enable use of `await` for a class based view #717
+- Large cookie expiration/max-age doesn't break an event loop from now
+ (fixes #967)
-- Check address family to fill wsgi env properly #718
-- Fix memory leak in headers processing (thanks to Marco Paolini) #723
+0.22.0 (08-15-2016)
+-------------------
+
+- Fix bug in serving static directory #803
+
+- Fix command line arg parsing #797
+
+- Fix a documentation chapter about cookie usage #790
+
+- Handle empty body with gzipped encoding #758
+
+- Support 451 Unavailable For Legal Reasons http status #697
+
+- Fix Cookie share example and few small typos in docs #817
+
+- UrlDispatcher.add_route with partial coroutine handler #814
+
+- Optional support for aiodns #728
+
+- Add ServiceRestart and TryAgainLater websocket close codes #828
+
+- Fix prompt message for `web.run_app` #832
+
+- Allow to pass None as a timeout value to disable timeout logic #834
+
+- Fix leak of connection slot during connection erro #835
+
+- Gunicorn worker with uvloop support `aiohttp.worker.GunicornUVLoopWebWorker` #878
+
+- Don't send body in response to HEAD request #838
+
+- Skip the preamble in MultipartReader #881
+
+- Implement BasicAuth decode classmethod. #744
+
+- Don't crash logger when transport is None #889
+
+- Use a create_future compatibility wrapper instead of creating
+ Futures directly #896
+
+- Add test utilities to aiohttp #902
+
+- Improve Request.__repr__ #875
+
+- Skip DNS resolving if provided host is already an ip address #874
+
+- Add headers to ClientSession.ws_connect #785
+
+- Document that server can send pre-compressed data #906
+
+- Don't add Content-Encoding and Transfer-Encoding if no body #891
+
+- Add json() convenience methods to websocket message objects #897
+
+- Add client_resp.raise_for_status() #908
+
+- Implement cookie filter #799
+
+- Include an example of middleware to handle error pages #909
+
+- Fix error handling in StaticFileMixin #856
+
+- Add mocked request helper #900
+
+- Fix empty ALLOW Response header for cls based View #929
+
+- Respect CONNECT method to implement a proxy server #847
+
+- Add pytest_plugin #914
+
+- Add tutorial
+
+- Add backlog option to support more than 128 (default value in
+ "create_server" function) concurrent connections #892
+
+- Allow configuration of header size limits #912
+
+- Separate sending file logic from StaticRoute dispatcher #901
+
+- Drop deprecated share_cookies connector option (BACKWARD INCOMPATIBLE)
+
+- Drop deprecated support for tuple as auth paramter.
+ Use aiohttp.BasicAuth instead (BACKWARD INCOMPATIBLE)
+
+- Remove deprecated `request.payload` property, use `content` instead.
+ (BACKWARD INCOMPATIBLE)
+
+- Drop all mentions about api changes in documentaion for versions
+ older than 0.16
+
+- Allow to override default cookie jar #963
+
+- Add manylinux wheel builds
+
+- Dup a socket for sendfile usage #964
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index b6d680e..2021683 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -5,19 +5,23 @@ A. Jesse Jiryu Davis
Alejandro Gómez
Alex Khomchenko
Alex Lisovoy
+Alex Key
Alexander Bayandin
Alexander Karpinsky
Alexander Malev
Alexander Shorin
Alexander Travov
Alexey Popravka
+Amy Boyle
Andrei Ursulenko
Andrej Antonov
Andrew Svetlov
+Andrii Soldatenko
Anton Kasyanov
Arthur Darcet
Ben Bader
Benedikt Reinartz
+Brett Cannon
Brian C. Lane
Boris Feld
Carl George
@@ -25,11 +29,13 @@ Chien-Wei Huang
Chih-Yuan Chen
Chris Laws
Chris Moore
+Daniel García
Daniel Nelson
David Michael Brown
Dima Veselov
Dimitar Dimitrov
Dmytro Kuznetsov
+Dustin J. Mitchell
Elizabeth Leddy
Erich Healy
Eugene Chernyshov
@@ -41,6 +47,7 @@ Greg Holt
Hugo Herter
Igor Pavlov
Ingmar Steen
+Jacob Champion
Jaesung Lee
Jashandeep Sohi
Jeroen van der Heijden
@@ -53,6 +60,8 @@ Kirill Klenov
Kirill Malovitsa
Kyrylo Perevozchikov
Lars P. Søndergaard
+Louis-Philippe Huberdeau
+Lubomir Gelo
Ludovic Gasc
Lukasz Marcin Dobrzanski
Marco Paolini
@@ -72,14 +81,17 @@ Philipp A.
Raúl Cumplido
"Required Field" <requiredfield256 at gmail.com>
Robert Lu
+Samuel Colvin
Sebastian Hanula
Sebastian Hüther
Sergey Ninua
Sergey Skripnick
Simon Kennedy
+Sin-Woo Bang
Stanislas Plum
Stanislav Prokop
Stephen Granade
+Steven Seguin
Sviatoslav Bulbakha
Taras Voinarovskyi
Tolga Tezel
@@ -93,5 +105,9 @@ Vladimir Rutsky
Vladimir Shulyak
Vladimir Zakharov
W. Trevor King
+Willem de Groot
Yannick Koechlin
-Коренберг Марк
+Yury Selivanov
+Yusuke Tsutsumi
+Марк Коренберг
+Семён Марьясин
diff --git a/Makefile b/Makefile
index 3ece965..6adc85c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,8 @@ flake: .install-deps
# python setup.py check -rms
flake8 aiohttp
if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then \
- flake8 examples tests; \
- fi
+ flake8 examples tests; \
+ fi
.develop: .install-deps $(shell find aiohttp -type f)
@@ -26,13 +26,13 @@ cov cover coverage:
tox
cov-dev: .develop
- py.test --cov=aiohttp --cov-report=term --cov-report=html tests
+ py.test --cov=aiohttp --cov-report=term --cov-report=html tests
@echo "open file://`pwd`/coverage/index.html"
cov-dev-full: .develop
- AIOHTTP_NO_EXTENSIONS=1 py.test --cov=aiohttp --cov-append tests
- PYTHONASYNCIODEBUG=1 py.test --cov=aiohttp --cov-append tests
- py.test --cov=aiohttp --cov-report=term --cov-report=html tests
+ AIOHTTP_NO_EXTENSIONS=1 py.test --cov=aiohttp --cov-append tests
+ PYTHONASYNCIODEBUG=1 py.test --cov=aiohttp --cov-append tests
+ py.test --cov=aiohttp --cov-report=term --cov-report=html tests
@echo "open file://`pwd`/coverage/index.html"
clean:
@@ -54,6 +54,10 @@ clean:
rm -f aiohttp/_multidict.c
rm -f aiohttp/_multidict.*.so
rm -f aiohttp/_multidict.*.pyd
+ rm -f aiohttp/_websocket.html
+ rm -f aiohttp/_websocket.c
+ rm -f aiohttp/_websocket.*.so
+ rm -f aiohttp/_websocket.*.pyd
rm -rf .tox
doc:
diff --git a/PKG-INFO b/PKG-INFO
index f3e2d0e..1a450f7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: aiohttp
-Version: 0.20.2
+Version: 0.22.1
Summary: http client/server for asyncio
Home-page: https://github.com/KeepSafe/aiohttp/
Author: Andrew Svetlov
@@ -46,24 +46,17 @@ Description: http client/server for asyncio
import aiohttp
import asyncio
- async def get_body(client, url):
- async with client.get(url) as response:
- return await response.read()
+ async def fetch(session, url):
+ with aiohttp.Timeout(10):
+ async with session.get(url) as response:
+ return await response.text()
if __name__ == '__main__':
loop = asyncio.get_event_loop()
- client = aiohttp.ClientSession(loop=loop)
- raw_html = loop.run_until_complete(get_body(client, 'http://python.org'))
- print(raw_html)
- client.close()
-
-
- If you want to use timeouts for aiohttp client please use standard
- asyncio approach:
-
- .. code-block:: python
-
- yield from asyncio.wait_for(client.get(url), 10)
+ with aiohttp.ClientSession(loop=loop) as session:
+ html = loop.run_until_complete(
+ fetch(session, 'http://python.org'))
+ print(html)
Server
@@ -73,7 +66,6 @@ Description: http client/server for asyncio
.. code-block:: python
- import asyncio
from aiohttp import web
async def handle(request):
@@ -96,19 +88,11 @@ Description: http client/server for asyncio
return ws
- async def init(loop):
- app = web.Application(loop=loop)
- app.router.add_route('GET', '/echo', wshandler)
- app.router.add_route('GET', '/{name}', handle)
-
- srv = await loop.create_server(app.make_handler(),
- '127.0.0.1', 8080)
- print("Server started at http://127.0.0.1:8080")
- return srv
+ app = web.Application()
+ app.router.add_route('GET', '/echo', wshandler)
+ app.router.add_route('GET', '/{name}', handle)
- loop = asyncio.get_event_loop()
- loop.run_until_complete(init(loop))
- loop.run_forever()
+ web.run_app(app)
Note: examples are written for Python 3.5+ and utilize PEP-492 aka
@@ -127,7 +111,7 @@ Description: http client/server for asyncio
Documentation
-------------
- http://aiohttp.readthedocs.org/
+ https://aiohttp.readthedocs.io/
Discussion list
---------------
@@ -166,14 +150,108 @@ Description: http client/server for asyncio
CHANGES
=======
- 0.20.2 (01-07-2015)
- --------------------
+ 0.22.1 (08-16-2016)
+ -------------------
+
+ - Large cookie expiration/max-age doesn't break an event loop from now
+ (fixes #967)
+
+
+ 0.22.0 (08-15-2016)
+ -------------------
+
+ - Fix bug in serving static directory #803
+
+ - Fix command line arg parsing #797
+
+ - Fix a documentation chapter about cookie usage #790
+
+ - Handle empty body with gzipped encoding #758
+
+ - Support 451 Unavailable For Legal Reasons http status #697
+
+ - Fix Cookie share example and few small typos in docs #817
+
+ - UrlDispatcher.add_route with partial coroutine handler #814
+
+ - Optional support for aiodns #728
+
+ - Add ServiceRestart and TryAgainLater websocket close codes #828
+
+ - Fix prompt message for `web.run_app` #832
+
+ - Allow to pass None as a timeout value to disable timeout logic #834
+
+ - Fix leak of connection slot during connection erro #835
+
+ - Gunicorn worker with uvloop support `aiohttp.worker.GunicornUVLoopWebWorker` #878
+
+ - Don't send body in response to HEAD request #838
+
+ - Skip the preamble in MultipartReader #881
+
+ - Implement BasicAuth decode classmethod. #744
+
+ - Don't crash logger when transport is None #889
+
+ - Use a create_future compatibility wrapper instead of creating
+ Futures directly #896
+
+ - Add test utilities to aiohttp #902
+
+ - Improve Request.__repr__ #875
+
+ - Skip DNS resolving if provided host is already an ip address #874
+
+ - Add headers to ClientSession.ws_connect #785
+
+ - Document that server can send pre-compressed data #906
+
+ - Don't add Content-Encoding and Transfer-Encoding if no body #891
+
+ - Add json() convenience methods to websocket message objects #897
+
+ - Add client_resp.raise_for_status() #908
+
+ - Implement cookie filter #799
+
+ - Include an example of middleware to handle error pages #909
+
+ - Fix error handling in StaticFileMixin #856
+
+ - Add mocked request helper #900
+
+ - Fix empty ALLOW Response header for cls based View #929
+
+ - Respect CONNECT method to implement a proxy server #847
+
+ - Add pytest_plugin #914
+
+ - Add tutorial
+
+ - Add backlog option to support more than 128 (default value in
+ "create_server" function) concurrent connections #892
+
+ - Allow configuration of header size limits #912
+
+ - Separate sending file logic from StaticRoute dispatcher #901
+
+ - Drop deprecated share_cookies connector option (BACKWARD INCOMPATIBLE)
+
+ - Drop deprecated support for tuple as auth paramter.
+ Use aiohttp.BasicAuth instead (BACKWARD INCOMPATIBLE)
+
+ - Remove deprecated `request.payload` property, use `content` instead.
+ (BACKWARD INCOMPATIBLE)
+
+ - Drop all mentions about api changes in documentaion for versions
+ older than 0.16
- - Enable use of `await` for a class based view #717
+ - Allow to override default cookie jar #963
- - Check address family to fill wsgi env properly #718
+ - Add manylinux wheel builds
- - Fix memory leak in headers processing (thanks to Marco Paolini) #723
+ - Dup a socket for sendfile usage #964
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
diff --git a/README.rst b/README.rst
index 9ecf9e6..45f06c0 100644
--- a/README.rst
+++ b/README.rst
@@ -38,24 +38,17 @@ To retrieve something from the web:
import aiohttp
import asyncio
- async def get_body(client, url):
- async with client.get(url) as response:
- return await response.read()
+ async def fetch(session, url):
+ with aiohttp.Timeout(10):
+ async with session.get(url) as response:
+ return await response.text()
if __name__ == '__main__':
loop = asyncio.get_event_loop()
- client = aiohttp.ClientSession(loop=loop)
- raw_html = loop.run_until_complete(get_body(client, 'http://python.org'))
- print(raw_html)
- client.close()
-
-
-If you want to use timeouts for aiohttp client please use standard
-asyncio approach:
-
-.. code-block:: python
-
- yield from asyncio.wait_for(client.get(url), 10)
+ with aiohttp.ClientSession(loop=loop) as session:
+ html = loop.run_until_complete(
+ fetch(session, 'http://python.org'))
+ print(html)
Server
@@ -65,7 +58,6 @@ This is simple usage example:
.. code-block:: python
- import asyncio
from aiohttp import web
async def handle(request):
@@ -88,19 +80,11 @@ This is simple usage example:
return ws
- async def init(loop):
- app = web.Application(loop=loop)
- app.router.add_route('GET', '/echo', wshandler)
- app.router.add_route('GET', '/{name}', handle)
-
- srv = await loop.create_server(app.make_handler(),
- '127.0.0.1', 8080)
- print("Server started at http://127.0.0.1:8080")
- return srv
+ app = web.Application()
+ app.router.add_route('GET', '/echo', wshandler)
+ app.router.add_route('GET', '/{name}', handle)
- loop = asyncio.get_event_loop()
- loop.run_until_complete(init(loop))
- loop.run_forever()
+ web.run_app(app)
Note: examples are written for Python 3.5+ and utilize PEP-492 aka
@@ -119,7 +103,7 @@ shoud be replaced by::
Documentation
-------------
-http://aiohttp.readthedocs.org/
+https://aiohttp.readthedocs.io/
Discussion list
---------------
diff --git a/aiohttp.egg-info/PKG-INFO b/aiohttp.egg-info/PKG-INFO
index f3e2d0e..1a450f7 100644
--- a/aiohttp.egg-info/PKG-INFO
+++ b/aiohttp.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: aiohttp
-Version: 0.20.2
+Version: 0.22.1
Summary: http client/server for asyncio
Home-page: https://github.com/KeepSafe/aiohttp/
Author: Andrew Svetlov
@@ -46,24 +46,17 @@ Description: http client/server for asyncio
import aiohttp
import asyncio
- async def get_body(client, url):
- async with client.get(url) as response:
- return await response.read()
+ async def fetch(session, url):
+ with aiohttp.Timeout(10):
+ async with session.get(url) as response:
+ return await response.text()
if __name__ == '__main__':
loop = asyncio.get_event_loop()
- client = aiohttp.ClientSession(loop=loop)
- raw_html = loop.run_until_complete(get_body(client, 'http://python.org'))
- print(raw_html)
- client.close()
-
-
- If you want to use timeouts for aiohttp client please use standard
- asyncio approach:
-
- .. code-block:: python
-
- yield from asyncio.wait_for(client.get(url), 10)
+ with aiohttp.ClientSession(loop=loop) as session:
+ html = loop.run_until_complete(
+ fetch(session, 'http://python.org'))
+ print(html)
Server
@@ -73,7 +66,6 @@ Description: http client/server for asyncio
.. code-block:: python
- import asyncio
from aiohttp import web
async def handle(request):
@@ -96,19 +88,11 @@ Description: http client/server for asyncio
return ws
- async def init(loop):
- app = web.Application(loop=loop)
- app.router.add_route('GET', '/echo', wshandler)
- app.router.add_route('GET', '/{name}', handle)
-
- srv = await loop.create_server(app.make_handler(),
- '127.0.0.1', 8080)
- print("Server started at http://127.0.0.1:8080")
- return srv
+ app = web.Application()
+ app.router.add_route('GET', '/echo', wshandler)
+ app.router.add_route('GET', '/{name}', handle)
- loop = asyncio.get_event_loop()
- loop.run_until_complete(init(loop))
- loop.run_forever()
+ web.run_app(app)
Note: examples are written for Python 3.5+ and utilize PEP-492 aka
@@ -127,7 +111,7 @@ Description: http client/server for asyncio
Documentation
-------------
- http://aiohttp.readthedocs.org/
+ https://aiohttp.readthedocs.io/
Discussion list
---------------
@@ -166,14 +150,108 @@ Description: http client/server for asyncio
CHANGES
=======
- 0.20.2 (01-07-2015)
- --------------------
+ 0.22.1 (08-16-2016)
+ -------------------
+
+ - Large cookie expiration/max-age doesn't break an event loop from now
+ (fixes #967)
+
+
+ 0.22.0 (08-15-2016)
+ -------------------
+
+ - Fix bug in serving static directory #803
+
+ - Fix command line arg parsing #797
+
+ - Fix a documentation chapter about cookie usage #790
+
+ - Handle empty body with gzipped encoding #758
+
+ - Support 451 Unavailable For Legal Reasons http status #697
+
+ - Fix Cookie share example and few small typos in docs #817
+
+ - UrlDispatcher.add_route with partial coroutine handler #814
+
+ - Optional support for aiodns #728
+
+ - Add ServiceRestart and TryAgainLater websocket close codes #828
+
+ - Fix prompt message for `web.run_app` #832
+
+ - Allow to pass None as a timeout value to disable timeout logic #834
+
+ - Fix leak of connection slot during connection erro #835
+
+ - Gunicorn worker with uvloop support `aiohttp.worker.GunicornUVLoopWebWorker` #878
+
+ - Don't send body in response to HEAD request #838
+
+ - Skip the preamble in MultipartReader #881
+
+ - Implement BasicAuth decode classmethod. #744
+
+ - Don't crash logger when transport is None #889
+
+ - Use a create_future compatibility wrapper instead of creating
+ Futures directly #896
+
+ - Add test utilities to aiohttp #902
+
+ - Improve Request.__repr__ #875
+
+ - Skip DNS resolving if provided host is already an ip address #874
+
+ - Add headers to ClientSession.ws_connect #785
+
+ - Document that server can send pre-compressed data #906
+
+ - Don't add Content-Encoding and Transfer-Encoding if no body #891
+
+ - Add json() convenience methods to websocket message objects #897
+
+ - Add client_resp.raise_for_status() #908
+
+ - Implement cookie filter #799
+
+ - Include an example of middleware to handle error pages #909
+
+ - Fix error handling in StaticFileMixin #856
+
+ - Add mocked request helper #900
+
+ - Fix empty ALLOW Response header for cls based View #929
+
+ - Respect CONNECT method to implement a proxy server #847
+
+ - Add pytest_plugin #914
+
+ - Add tutorial
+
+ - Add backlog option to support more than 128 (default value in
+ "create_server" function) concurrent connections #892
+
+ - Allow configuration of header size limits #912
+
+ - Separate sending file logic from StaticRoute dispatcher #901
+
+ - Drop deprecated share_cookies connector option (BACKWARD INCOMPATIBLE)
+
+ - Drop deprecated support for tuple as auth paramter.
+ Use aiohttp.BasicAuth instead (BACKWARD INCOMPATIBLE)
+
+ - Remove deprecated `request.payload` property, use `content` instead.
+ (BACKWARD INCOMPATIBLE)
+
+ - Drop all mentions about api changes in documentaion for versions
+ older than 0.16
- - Enable use of `await` for a class based view #717
+ - Allow to override default cookie jar #963
- - Check address family to fill wsgi env properly #718
+ - Add manylinux wheel builds
- - Fix memory leak in headers processing (thanks to Marco Paolini) #723
+ - Dup a socket for sendfile usage #964
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
diff --git a/aiohttp.egg-info/SOURCES.txt b/aiohttp.egg-info/SOURCES.txt
index d55cc08..6aea001 100644
--- a/aiohttp.egg-info/SOURCES.txt
+++ b/aiohttp.egg-info/SOURCES.txt
@@ -7,8 +7,6 @@ README.rst
setup.cfg
setup.py
aiohttp/__init__.py
-aiohttp/_multidict.c
-aiohttp/_multidict.pyx
aiohttp/_websocket.c
aiohttp/_websocket.pyx
aiohttp/abc.py
@@ -16,13 +14,15 @@ aiohttp/client.py
aiohttp/client_reqrep.py
aiohttp/connector.py
aiohttp/errors.py
+aiohttp/file_sender.py
aiohttp/hdrs.py
aiohttp/helpers.py
aiohttp/log.py
-aiohttp/multidict.py
aiohttp/multipart.py
aiohttp/parsers.py
aiohttp/protocol.py
+aiohttp/pytest_plugin.py
+aiohttp/resolver.py
aiohttp/server.py
aiohttp/signals.py
aiohttp/streams.py
@@ -39,29 +39,30 @@ aiohttp/wsgi.py
aiohttp.egg-info/PKG-INFO
aiohttp.egg-info/SOURCES.txt
aiohttp.egg-info/dependency_links.txt
-aiohttp.egg-info/pbr.json
aiohttp.egg-info/requires.txt
aiohttp.egg-info/top_level.txt
docs/Makefile
+docs/abc.rst
docs/aiohttp-icon.ico
docs/aiohttp-icon.svg
-docs/aiohttp_doctools.py
docs/api.rst
docs/changes.rst
docs/client.rst
docs/client_reference.rst
docs/conf.py
docs/contributing.rst
+docs/faq.rst
docs/glossary.rst
docs/gunicorn.rst
docs/index.rst
docs/logging.rst
docs/make.bat
-docs/multidict.rst
docs/multipart.rst
-docs/python33.rst
+docs/new_router.rst
docs/server.rst
docs/spelling_wordlist.txt
+docs/testing.rst
+docs/tutorial.rst
docs/web.rst
docs/web_reference.rst
docs/_static/aiohttp-icon-128x128.png
@@ -69,6 +70,7 @@ docs/_static/aiohttp-icon-32x32.png
docs/_static/aiohttp-icon-64x64.png
docs/_static/aiohttp-icon-96x96.png
examples/basic_srv.py
+examples/cli_app.py
examples/client_auth.py
examples/client_json.py
examples/crawl.py
@@ -103,28 +105,35 @@ tests/test_errors.py
tests/test_flowcontrol_streams.py
tests/test_helpers.py
tests/test_http_parser.py
-tests/test_multidict.py
tests/test_multipart.py
tests/test_parser_buffer.py
tests/test_protocol.py
tests/test_proxy_connector.py
+tests/test_pytest_plugin.py
+tests/test_resolver.py
+tests/test_run_app.py
tests/test_server.py
tests/test_signals.py
tests/test_stream_parser.py
tests/test_stream_protocol.py
tests/test_stream_writer.py
tests/test_streams.py
+tests/test_test_utils.py
tests/test_timeout.py
tests/test_urldispatch.py
tests/test_web_application.py
+tests/test_web_cli.py
tests/test_web_exceptions.py
tests/test_web_functional.py
tests/test_web_middleware.py
tests/test_web_request.py
tests/test_web_request_handler.py
tests/test_web_response.py
+tests/test_web_urldispatcher.py
tests/test_web_websocket.py
tests/test_web_websocket_functional.py
+tests/test_web_websocket_functional_oldstyle.py
+tests/test_websendfile.py
tests/test_websocket_client.py
tests/test_websocket_client_functional.py
tests/test_websocket_handshake.py
diff --git a/aiohttp.egg-info/pbr.json b/aiohttp.egg-info/pbr.json
deleted file mode 100644
index b79d6eb..0000000
--- a/aiohttp.egg-info/pbr.json
+++ /dev/null
@@ -1 +0,0 @@
-{"git_version": "bf5f5ca", "is_release": false}
\ No newline at end of file
diff --git a/aiohttp.egg-info/requires.txt b/aiohttp.egg-info/requires.txt
index 79236f2..588325f 100644
--- a/aiohttp.egg-info/requires.txt
+++ b/aiohttp.egg-info/requires.txt
@@ -1 +1,2 @@
chardet
+multidict>=1.1.0
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py
index fb05bb0..faaad55 100644
--- a/aiohttp/__init__.py
+++ b/aiohttp/__init__.py
@@ -1,8 +1,10 @@
# This relies on each of the submodules having an __all__ variable.
-__version__ = '0.20.2'
+__version__ = '0.22.1'
+import multidict # noqa
+from multidict import * # noqa
from . import hdrs # noqa
from .protocol import * # noqa
from .connector import * # noqa
@@ -12,20 +14,20 @@ from .errors import * # noqa
from .helpers import * # noqa
from .parsers import * # noqa
from .streams import * # noqa
-from .multidict import * # noqa
from .multipart import * # noqa
from .websocket_client import * # noqa
+from .file_sender import FileSender # noqa
-__all__ = (client.__all__ +
- client_reqrep.__all__ +
- errors.__all__ +
- helpers.__all__ +
- parsers.__all__ +
- protocol.__all__ +
- connector.__all__ +
- streams.__all__ +
... 34444 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-aiohttp.git
More information about the Python-modules-commits
mailing list