Skip to content
Myr

Removed second mention of json. This fixes #290

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 92c7bdd · Browse files · 2 files+3 added−7 removed
This commit

State

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

Diff stats

2 files+3 added−7 removed

  • other:+3 added−7 removed

2 files+3 added−7 removed

modified:docs/api.rst-6 removed
117 unmodified lines
118 ``X-Requested-With`` header and set it to `XMLHttpRequest`.119 Libraries that do that are prototype, jQuery and Mochikit and120 probably some more.121122 .. attribute:: json123124 Contains the parsed body of the JSON request if the mimetype of125 the incoming data was `application/json`. This requires Python 2.6126 or an installed version of simplejson.127122.. class:: request123124 To access incoming request data, you can use the global `request`125 object. Flask parses incoming request data for you and gives you
369 unmodified lines
modified:flask/wrappers.py+3 added-1 removed
89 unmodified lines
9091 @cached_property92 def json(self):93 """If the mimetype is `application/json` this will contain the94 parsed JSON data.94 parsed JSON data. Otherwise this will be `None`.9596 This requires Python 2.6 or an installed version of simplejson.97 """98 if __debug__:99 _assert_have_json()100 if self.mimetype == 'application/json':
38 unmodified lines