CODEFOSSIL · flask
Request
class in src/flask/wrappers.py:18 · Born 2010-04-11 (DERIVED, confidence 0.90)
Copied here from flask.py; its history is followed back to where it was born.
Changed add config and docs for limits
c7a5388· David LordChanged fix pyright type errors
9e831e9· bre-17387639Changed fix mypy finding with new werkzeug endpoint type
a363642· David LordChanged address mypy strict findings
6000e80· David LordChanged add __future__ annotations
44ffe6c· David LordChanged update requirements
d178653· David LordChanged fix typing
cd4ab00· David LordChanged better override for json BadRequest error
6578b49· David LordChanged better replacement of original form KeyError
0a300d0· David LordChanged cache blueprint path calculation
67b0b7e· David LordChanged Bugfix blueprint naming
141fde1· pgjones fix · INFERREDChanged fix typing that wasn't available in Python 3.6.0
25884c4· David LordChanged Add initial type hints
7723709· pgjonesChanged remove JSONMixin
fdba0d2· David LordChanged address flake8 issues
b46f594· Jon S. StumpfChanged Reformat with black
025589e· David BaumgoldChanged detect UTF encodings when loading json
0e1e9a0· David LordChanged revert copyright year to project start add copyright header to files
310fbfc· David LordChanged Add additional information in the url_rule docs (#2467)
0a10908· Henry ChladilChanged remove deprecated Request.module
723e665· David LordChanged clean up JSON code and docs
e97253e· David LordChanged mention mimetype and is_json
217d5f9· David LordChanged Clarify documentation for json parsing
daf85d3· Grant WuChanged Ignore cache on request.get_json(cache=False) call (#2089)
36425d5· Jiri KuncarChanged Use app_ctx instead of request_ctx to access the app
1df2788· Adam ByrtekChanged Mixin for JSON decoding code shared between request/response
c9ef500· Adam ByrtekChanged JSON response tests and first draft of code that passes
ca547f0· Adam ByrtekChanged s/1.0/0.11/ in versionadded/versionchanged markers
c5900a1· ThiefMasterChanged minor rewording of get_json documentation for clarity (#1781)
de25e98· Miguel GrinbergChanged 0.11 => 1.0
2446ca6· Markus UnterwaditzerChanged Remove unused import and clean control flow
7b08035· Keyan PishdadianChanged Change format index to support Python 2.6
44da905· Keyan PishdadianChanged Changed error message to include actual exception contents
1cd9e91· Keyan PishdadianChanged Change to hardcoding exception contents to support Python3 json loading exception format
290c371· Keyan PishdadianChanged Change logic to support when current_app is not available
19df249· Keyan PishdadianChanged Make exception contents conditional on DEBUG
82b7983· Keyan PishdadianChanged Add exception details to response
5d3e7b7· Keyan PishdadianChanged docs: :mimetype:`application/json`
d4b9b98· defuzChanged docs: ``DEBUG``, ``SERVER_NAME``, ``PATH_INFO``
ad011bc· defuzChanged docs: ``True``, ``False`` and ``None``
8284217· defuzChanged Corrected api docs
7092890· Augustus D'SouzaChanged Deprecate request.json property
61097c4· INADA NaokiChanged Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
bafc139· Armin RonacherChanged fix typo
fbda3f9· raimuChanged Update wrappers.py
db12a8f· max demianChanged Added support for custom JSON mimetypes
e5bba9d· Armin RonacherChanged corrected documentation for Request get_json()
3e90de2· Will BowlinChanged Added request.get_json().
9641749· Armin RonacherChanged Removed incorrect JSON exception subclasses
4c27f7a· Armin RonacherChanged document python 2.6 minimum requirement, remove all stuff that refers to 2.5
40fad2e· Thomas WaldmannChanged automated change using python-modernize: use 'as' in except
6caaa8a· Thomas WaldmannChanged various typo fixes
48f7cdd· Finbarr O'CallaghanChanged Removed json_available hack
c3d38a2· Armin RonacherChanged Removed extra blank line to fix ReST formatted documentation string in wrappers.py. Should have gone with pull request #439.
91efb90· jfinkelsChanged On JSON requests, the JSON response should have Content-Type: application/json and the body of the response should be a JSON object.
9711fd4· Jeffrey FinkelsteinChanged Removed second mention of json. This fixes #290
6387661· Armin Ronacher fix · INFERREDChanged If JSON parsing fails it now issues a BadRequest exception.
ce70131· Armin RonacherChanged Better internal method name
ac99cd3· Armin RonacherChanged Only provide that monkeypatch if all files are missing
3400b78· Armin RonacherChanged Added debughelpers. Flask will now tell you if you forget enctype
2e022cb· Armin RonacherChanged Cleanup for the json property
a69b437· Armin RonacherChanged Clarified a sentence that no longer made sense with the new docs on request objects.
eba2f70· Armin RonacherChanged Test that dotted names work. This fixes #258
ea7a172· Armin Ronacher fix · INFERREDChanged Latest iteration of the blueprint code. Far from being done
7a08331· Armin RonacherChanged respect request charset
41952d2· Steve RomanowChanged Started work on implementing blueprint based template loading
a06cd0a· Armin RonacherChanged Fix some typos in the docstrings
549af62· jgraemeChanged Added MAX_CONTENT_LENGTH config key
b1790cc· Armin RonacherChanged tiny performance improvement
6e52355· Armin RonacherChanged Added support for automagic OPTIONS
5e1b103· Armin RonacherChanged Restored 2.5 compatibility and actual fix for the json problem
51a89bf· Armin Ronacher fix · INFERREDChanged working import layout for module
c4f64c1· Justin QuickMoved here in with the new. i have the bits in places where i think they should be, now i just need to work on the import scheme layout
d0dc89e· Justin QuickBorn Added testing documentation
03148db· Armin Ronacher