Merge pull request #784 from BobStevens/master
quickstart guide - wording changes for clarity
This commit is contained in:
commit
d56d96c8c2
1 changed files with 2 additions and 2 deletions
|
|
@ -666,8 +666,8 @@ About Responses
|
|||
|
||||
The return value from a view function is automatically converted into a
|
||||
response object for you. If the return value is a string it's converted
|
||||
into a response object with the string as response body, an ``200 OK``
|
||||
error code and a ``text/html`` mimetype. The logic that Flask applies to
|
||||
into a response object with the string as response body, a ``200 OK``
|
||||
status code and a ``text/html`` mimetype. The logic that Flask applies to
|
||||
converting return values into response objects is as follows:
|
||||
|
||||
1. If a response object of the correct type is returned it's directly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue