@@ -92,25 +92,26 @@ Incoming Request Data
92
92
.. attribute :: base_url
93
93
.. attribute :: url_root
94
94
95
- Provides different ways to look at the current URL. Imagine your
96
- application is listening on the following URL::
95
+ Provides different ways to look at the current
96
+ `IRI<http://tools.ietf.org/html/rfc3987> `_. Imagine your
97
+ application is listening on the following application root::
97
98
98
99
http://www.example.com/myapplication
99
100
100
- And a user requests the following URL ::
101
+ And a user requests the following URI ::
101
102
102
- http://www.example.com/myapplication/page.html?x=y
103
+ http://www.example.com/myapplication/%CF%80/ page.html?x=y
103
104
104
105
In this case the values of the above mentioned attributes would be
105
106
the following:
106
107
107
108
============= ======================================================
108
- `path ` ``/ page.html ``
109
- `full_path ` ``/ page.html?x=y ``
110
- `script_root ` ``/myapplication ``
111
- `base_url ` ``http://www.example.com/myapplication/page.html ``
112
- `url ` ``http://www.example.com/myapplication/page.html?x=y ``
113
- `url_root ` ``http://www.example.com/myapplication/ ``
109
+ `path ` ``u'/π/ page.html' ``
110
+ `full_path ` ``u'/π/ page.html?x=y' ``
111
+ `script_root ` ``u' /myapplication' ``
112
+ `base_url ` ``u' http://www.example.com/myapplication/π/ page.html' ``
113
+ `url ` ``u' http://www.example.com/myapplication/π/ page.html?x=y' ``
114
+ `url_root ` ``u' http://www.example.com/myapplication/' ``
114
115
============= ======================================================
115
116
116
117
.. attribute :: is_xhr
0 commit comments