On JSON requests, the JSON response should have Content-Type: application/json and the body of the response should be a JSON object.
This commit is contained in:
parent
7ed3cba658
commit
9711fd4020
3 changed files with 66 additions and 4 deletions
2
CHANGES
2
CHANGES
|
|
@ -8,6 +8,8 @@ Version 0.9
|
|||
|
||||
Relase date to be decided, codename to be chosen.
|
||||
|
||||
- The :func:`flask.Request.on_json_loading_failed` now returns a JSON formatted
|
||||
response by default.
|
||||
- The :func:`flask.url_for` function now can generate anchors to the
|
||||
generated links.
|
||||
- The :func:`flask.url_for` function now can also explicitly generate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue