Browse Source

Merge pull request #784 from BobStevens/master

quickstart guide - wording changes for clarity
pull/786/merge
Daniel Neuhäuser 11 years ago
parent
commit
d56d96c8c2
  1. 4
      docs/quickstart.rst

4
docs/quickstart.rst

@ -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…
Cancel
Save