Skip to content

Commit

Permalink
bring request lookup order documentation in line with reality
Browse files Browse the repository at this point in the history
  • Loading branch information
d-maurer committed May 30, 2019
1 parent f0b9ddb commit 00ce772
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/zdgbook/ObjectPublishing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,9 @@ a record ``x`` with attributes ``name`` and ``age`` and respective values

The publisher also marshals arguments from CGI environment variables
and cookies. When locating arguments, the publisher first looks in
CGI environment variables, then other request variables, then form
data, and finally cookies. Once a variable is found, no further
other (i.e. explicitly set or special) request variables,
then CGI environment variables, then form
variables, and finally cookies. Once a variable is found, no further
searching is done. So for example, if your published object expects
to be called with a form variable named ``SERVER_URL``, it will fail,
since this argument will be marshalled from the CGI environment first,
Expand Down

0 comments on commit 00ce772

Please sign in to comment.