diff -Nru aiohttp-cors-0.5.0/aiohttp_cors/__about__.py aiohttp-cors-0.5.3/aiohttp_cors/__about__.py --- aiohttp-cors-0.5.0/aiohttp_cors/__about__.py 2017-03-29 03:08:38.000000000 +0000 +++ aiohttp-cors-0.5.3/aiohttp_cors/__about__.py 2017-04-21 11:45:38.000000000 +0000 @@ -19,10 +19,10 @@ """ __title__ = "aiohttp-cors" -__version__ = "0.5.0" +__version__ = "0.5.3" __author__ = "Vladimir Rutsky" __email__ = "vladimir@rutsky.org" __summary__ = "CORS support for aiohttp" __uri__ = "https://github.com/aio-libs/aiohttp-cors" __license__ = "Apache License, Version 2.0" -__copyright__ = "2015, 2016 {}".format(__author__) +__copyright__ = "2015, 2016, 2017 {}".format(__author__) diff -Nru aiohttp-cors-0.5.0/aiohttp_cors/__init__.py aiohttp-cors-0.5.3/aiohttp_cors/__init__.py --- aiohttp-cors-0.5.0/aiohttp_cors/__init__.py 2017-03-29 03:08:38.000000000 +0000 +++ aiohttp-cors-0.5.3/aiohttp_cors/__init__.py 2017-04-21 11:45:38.000000000 +0000 @@ -44,7 +44,7 @@ To enable CORS for a resource you need to explicitly add route for that resource using `CorsConfig.add()` method:: - app = aiohttp.web.Application( + app = aiohttp.web.Application() cors = aiohttp_cors.setup(app) cors.add( app.router.add_route("GET", "/resource", handler), diff -Nru aiohttp-cors-0.5.0/aiohttp_cors.egg-info/dependency_links.txt aiohttp-cors-0.5.3/aiohttp_cors.egg-info/dependency_links.txt --- aiohttp-cors-0.5.0/aiohttp_cors.egg-info/dependency_links.txt 2017-03-29 03:08:38.000000000 +0000 +++ aiohttp-cors-0.5.3/aiohttp_cors.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ - diff -Nru aiohttp-cors-0.5.0/aiohttp_cors.egg-info/PKG-INFO aiohttp-cors-0.5.3/aiohttp_cors.egg-info/PKG-INFO --- aiohttp-cors-0.5.0/aiohttp_cors.egg-info/PKG-INFO 2017-03-29 03:08:38.000000000 +0000 +++ aiohttp-cors-0.5.3/aiohttp_cors.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 @@ -1,556 +0,0 @@ -Metadata-Version: 1.1 -Name: aiohttp-cors -Version: 0.5.0 -Summary: CORS support for aiohttp -Home-page: https://github.com/aio-libs/aiohttp-cors -Author: Vladimir Rutsky -Author-email: vladimir@rutsky.org -License: Apache License, Version 2.0 -Description: CORS support for aiohttp - ======================== - - ``aiohttp_cors`` library implements - `Cross Origin Resource Sharing (CORS) `__ - support for `aiohttp `__ - asyncio-powered asynchronous HTTP server. - - Jump directly to `Usage`_ part to see how to use ``aiohttp_cors``. - - Same-origin policy - ================== - - Web security model is tightly connected to - `Same-origin policy (SOP) `__. - In short: web pages cannot *Read* resources which origin - doesn't match origin of requested page, but can *Embed* (or *Execute*) - resources and have limited ability to *Write* resources. - - Origin of a page is defined in the `Standard `__ as tuple - ``(schema, host, port)`` - (there is a notable exception with Internet Explorer: it doesn't use port to - define origin, but uses it's own - `Security Zones `__). - - Can *Embed* means that resource from other origin can be embedded into - the page, - e.g. by using ``