Skip to content
Myr

Update api.rst

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Changed Japanese text to pi symbol, emphasize that values are unicode.

authored by Bruce Sutherland · committed by Bruce Sutherland · parent 3bbe869 · Browse files · 1 file+7 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−7 removed

  • other:+7 added−7 removed

1 file+7 added−7 removed

modified:docs/api.rst+7 added-7 removed
97 unmodified lines
98 http://www.example.com/myapplication99100 And a user requests the following IRI::101102 http://www.example.com/myapplication/日本/page.html?x=y102 http://www.example.com/myapplication/π/page.html?x=y103104 In this case the values of the above mentioned attributes would be105 the following:106107 ============= ======================================================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/``108 `path` ``u'/π/page.html'``109 `full_path` ``u'/π/page.html?x=y'``110 `script_root` ``u'/myapplication'``111 `base_url` ``u'http://www.example.com/myapplication/π/page.html'``112 `url` ``u'http://www.example.com/myapplication/π/page.html?x=y'``113 `url_root` ``u'http://www.example.com/myapplication/'``114 ============= ======================================================115116 .. attribute:: is_xhr117
672 unmodified lines