Browse Source

Update api.rst

Changed Japanese text to pi symbol, emphasize that values are unicode.
pull/1325/head
Bruce Sutherland 10 years ago
parent
commit
77141c1eca
  1. 14
      docs/api.rst

14
docs/api.rst

@ -99,18 +99,18 @@ Incoming Request Data
And a user requests the following IRI:: And a user requests the following IRI::
http://www.example.com/myapplication/日本/page.html?x=y http://www.example.com/myapplication/π/page.html?x=y
In this case the values of the above mentioned attributes would be In this case the values of the above mentioned attributes would be
the following: the following:
============= ====================================================== ============= ======================================================
`path` ``/日本/page.html`` `path` ``u'/π/page.html'``
`full_path` ``/日本/page.html?x=y`` `full_path` ``u'/π/page.html?x=y'``
`script_root` ``/myapplication`` `script_root` ``u'/myapplication'``
`base_url` ``http://www.example.com/myapplication/日本/page.html`` `base_url` ``u'http://www.example.com/myapplication/π/page.html'``
`url` ``http://www.example.com/myapplication/日本/page.html?x=y`` `url` ``u'http://www.example.com/myapplication/π/page.html?x=y'``
`url_root` ``http://www.example.com/myapplication/`` `url_root` ``u'http://www.example.com/myapplication/'``
============= ====================================================== ============= ======================================================
.. attribute:: is_xhr .. attribute:: is_xhr

Loading…
Cancel
Save