Skip to content
Myr

Merge pull request #1325 from bsutherland/rqst_properteis_doc_iri_patch

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

Clarify contents of request properties.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 94a3968, 0d86a89 · Browse files · 1 file+11 added−10 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+11 added−10 removed

  • other:+11 added−10 removed

1 file+11 added−10 removed

modified:docs/api.rst+11 added-10 removed
90 unmodified lines
91 .. attribute:: url92 .. attribute:: base_url93 .. attribute:: url_root9495 Provides different ways to look at the current URL. Imagine your96 application is listening on the following URL::95 Provides different ways to look at the current96 `IRI<http://tools.ietf.org/html/rfc3987>`_. Imagine your97 application is listening on the following application root::9899 http://www.example.com/myapplication100100 And a user requests the following URL::101 And a user requests the following URI::102102 http://www.example.com/myapplication/page.html?x=y103 http://www.example.com/myapplication/%CF%80/page.html?x=y104105 In this case the values of the above mentioned attributes would be106 the following:107108 ============= ======================================================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/'``115 ============= ======================================================116117 .. attribute:: is_xhr118
672 unmodified lines