forked from orbit-oss/flask
More doc typo fixes
This commit is contained in:
parent
8da8a21b69
commit
363d9ed10d
1 changed files with 2 additions and 2 deletions
|
|
@ -513,7 +513,7 @@ The following converters are available:
|
||||||
`path` like the default but also accepts slashes
|
`path` like the default but also accepts slashes
|
||||||
=========== ===============================================
|
=========== ===============================================
|
||||||
|
|
||||||
Here some examples::
|
Here are some examples::
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
|
|
@ -534,7 +534,7 @@ apply:
|
||||||
1. If a rule ends with a slash and is requested without a slash by the
|
1. If a rule ends with a slash and is requested without a slash by the
|
||||||
user, the user is automatically redirected to the same page with a
|
user, the user is automatically redirected to the same page with a
|
||||||
trailing slash attached.
|
trailing slash attached.
|
||||||
2. If a rule does not end with a trailing slash and the user request the
|
2. If a rule does not end with a trailing slash and the user requests the
|
||||||
page with a trailing slash, a 404 not found is raised.
|
page with a trailing slash, a 404 not found is raised.
|
||||||
|
|
||||||
This is consistent with how web servers deal with static files. This
|
This is consistent with how web servers deal with static files. This
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue