word change for clarity
changed "200 error code" to "200 status code"
This commit is contained in:
parent
02b2df580a
commit
e2fdf28e97
1 changed files with 1 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ About Responses
|
||||||
The return value from a view function is automatically converted into a
|
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
|
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``
|
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
|
status code and a ``text/html`` mimetype. The logic that Flask applies to
|
||||||
converting return values into response objects is as follows:
|
converting return values into response objects is as follows:
|
||||||
|
|
||||||
1. If a response object of the correct type is returned it's directly
|
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