From 77141c1eca6086ed6ab102f872f6f2bc04e7f5fd Mon Sep 17 00:00:00 2001 From: Bruce Sutherland Date: Wed, 21 Jan 2015 15:00:38 +0900 Subject: [PATCH] Update api.rst Changed Japanese text to pi symbol, emphasize that values are unicode. --- docs/api.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index c7fdda4a..42e42c99 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -99,18 +99,18 @@ Incoming Request Data 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 the following: ============= ====================================================== - `path` ``/日本/page.html`` - `full_path` ``/日本/page.html?x=y`` - `script_root` ``/myapplication`` - `base_url` ``http://www.example.com/myapplication/日本/page.html`` - `url` ``http://www.example.com/myapplication/日本/page.html?x=y`` - `url_root` ``http://www.example.com/myapplication/`` + `path` ``u'/π/page.html'`` + `full_path` ``u'/π/page.html?x=y'`` + `script_root` ``u'/myapplication'`` + `base_url` ``u'http://www.example.com/myapplication/π/page.html'`` + `url` ``u'http://www.example.com/myapplication/π/page.html?x=y'`` + `url_root` ``u'http://www.example.com/myapplication/'`` ============= ====================================================== .. attribute:: is_xhr