File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ High-level HTTP Server
9
9
10
10
.. versionchanged :: 0.12
11
11
12
+ The module was deeply refactored in backward incompatible manner.
13
+
12
14
Run a simple web server
13
15
-----------------------
14
16
@@ -88,6 +90,11 @@ Also you can specify regexp for variable route in form ``{name:regexp}``::
88
90
By default regexp is ``[^{}/]+ ``.
89
91
90
92
93
+ .. versionadded :: 0.13
94
+
95
+ Support for custom regexps in variable routes.
96
+
97
+
91
98
Handlers can be first-class functions, e.g.::
92
99
93
100
@asyncio.coroutine
@@ -721,6 +728,8 @@ arbitrary properties for later access from
721
728
:param middlewares: sequence of middleware factories, see
722
729
:ref: `aiohttp-web-middlewares ` for details.
723
730
731
+ .. versionadded :: 0.13
732
+
724
733
:param kwargs: optional params for initializing self dict.
725
734
726
735
.. attribute :: router
@@ -898,8 +907,6 @@ Router is any object that implements :class:`AbstractRouter` interface.
898
907
Route
899
908
^^^^^
900
909
901
- .. versionadded :: 0.11
902
-
903
910
Default router :class: `UrlDispatcher ` operates with *routes *.
904
911
905
912
User should not instantiate route classes by hand but can give *named
@@ -1151,6 +1158,8 @@ and list of allowed methods::
1151
1158
Middlewares
1152
1159
-----------
1153
1160
1161
+ .. versionadded :: 0.13
1162
+
1154
1163
:class: `Application ` accepts *middlewares * keyword-only parameter,
1155
1164
which should be sequence of *middleware factories *.
1156
1165
You can’t perform that action at this time.
0 commit comments