Skip to content
Myr

corrected documentation for Request get_json()

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Will Bowlin · committed by Will Bowlin · parent be73233 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/wrappers.py+2 added-2 removed
113 unmodified lines
114 only load the json data if the mimetype is ``application/json``115 but this can be overriden by the `force` parameter.116117 :param force: if set to `True` the mimetype is ignored.118 :param silent: if set to `False` this method will fail silently119 and return `False`.118 :param silent: if set to `True` this method will fail silently119 and return `None`.120 :param cache: if set to `True` the parsed JSON data is remembered121 on the request.122 """123 rv = getattr(self, '_cached_json', _missing)
61 unmodified lines