[Checkins] SVN: bobo/branches/d2m.extrapathinfo/bobodoctestumentation/src/bobodoctestumentation/index.txt update docs
Michael Haubenwallner
michael at d2m.at
Wed Aug 12 03:23:42 EDT 2009
Log message for revision 102696:
update docs
Changed:
U bobo/branches/d2m.extrapathinfo/bobodoctestumentation/src/bobodoctestumentation/index.txt
-=-
Modified: bobo/branches/d2m.extrapathinfo/bobodoctestumentation/src/bobodoctestumentation/index.txt
===================================================================
--- bobo/branches/d2m.extrapathinfo/bobodoctestumentation/src/bobodoctestumentation/index.txt 2009-08-12 06:37:02 UTC (rev 102695)
+++ bobo/branches/d2m.extrapathinfo/bobodoctestumentation/src/bobodoctestumentation/index.txt 2009-08-12 07:23:42 UTC (rev 102696)
@@ -410,7 +410,7 @@
'Hello Sally! My name is jim.'
-If the placeholder is a '*' everything up to the end of the path is available
+If the placeholder is starred, everything up to the end of the URL is available
in the placeholder variable::
@bobo.query('/greeters/:extra_path*')
@@ -438,17 +438,6 @@
Extra path info can be combined with the suffix pattern::
- @bobo.query('/greeters/:extra_path*.html')
- def hello(name="world", extra_path=''):
- return "Hello %s! Extra path info is '%s'." % (name, extra_path)
-
-.. -> src
-
- >>> update_module('helloapp', src)
- >>> app = webtest.TestApp(bobo.Application(bobo_resources='helloapp'))
-
-::
-
http://localhost:8080/greeters/name/Sally.html
.. -> url strip
More information about the Checkins
mailing list