Browse Source

Merge pull request #1163 from boreq/docs-update

Added full_path to the Request object documentation.
pull/1172/head
Markus Unterwaditzer 10 years ago
parent
commit
670d2a4d50
  1. 2
      docs/api.rst

2
docs/api.rst

@ -86,6 +86,7 @@ Incoming Request Data
The current request method (``POST``, ``GET`` etc.) The current request method (``POST``, ``GET`` etc.)
.. attribute:: path .. attribute:: path
.. attribute:: full_path
.. attribute:: script_root .. attribute:: script_root
.. attribute:: url .. attribute:: url
.. attribute:: base_url .. attribute:: base_url
@ -105,6 +106,7 @@ Incoming Request Data
============= ====================================================== ============= ======================================================
`path` ``/page.html`` `path` ``/page.html``
`full_path` ``/page.html?x=y``
`script_root` ``/myapplication`` `script_root` ``/myapplication``
`base_url` ``http://www.example.com/myapplication/page.html`` `base_url` ``http://www.example.com/myapplication/page.html``
`url` ``http://www.example.com/myapplication/page.html?x=y`` `url` ``http://www.example.com/myapplication/page.html?x=y``

Loading…
Cancel
Save