Keyan Pishdadian
|
7b080355f5
|
Remove unused import and clean control flow
|
2015-03-05 13:26:59 -05:00 |
|
Keyan Pishdadian
|
44da905cb7
|
Change format index to support Python 2.6
|
2015-03-05 13:19:00 -05:00 |
|
Keyan Pishdadian
|
1cd9e91810
|
Changed error message to include actual exception contents
|
2015-03-05 13:04:38 -05:00 |
|
Keyan Pishdadian
|
290c371eb1
|
Change to hardcoding exception contents to support Python3 json loading exception format
|
2015-03-05 12:48:38 -05:00 |
|
Keyan Pishdadian
|
19df249c89
|
Change logic to support when current_app is not available
|
2015-03-04 13:21:39 -05:00 |
|
Keyan Pishdadian
|
82b7983b2a
|
Make exception contents conditional on DEBUG
|
2015-03-02 12:12:37 -05:00 |
|
Keyan Pishdadian
|
5d3e7b737c
|
Add exception details to response
|
2015-02-28 01:22:15 -05:00 |
|
Parkayun
|
33534bb4a9
|
Happy New Year 2015
|
2015-01-02 11:35:00 +09:00 |
|
defuz
|
d4b9b9854c
|
docs: :mimetype:application/json
|
2014-11-05 07:43:00 +03:00 |
|
defuz
|
ad011bc32d
|
docs: `DEBUG, SERVER_NAME, PATH_INFO`
|
2014-11-05 07:10:49 +03:00 |
|
defuz
|
8284217593
|
docs: `True, False and None`
|
2014-11-05 06:04:58 +03:00 |
|
INADA Naoki
|
61097c47a3
|
Deprecate request.json property
|
2014-10-15 02:21:52 +09:00 |
|
Armin Ronacher
|
bafc139810
|
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
|
2014-09-03 17:57:51 +02:00 |
|
raimu
|
fbda3f94ba
|
fix typo
|
2014-04-11 22:40:21 +02:00 |
|
max demian
|
db12a8f5e4
|
Update wrappers.py
|
2014-03-15 14:45:37 +01:00 |
|
Armin Ronacher
|
e5bba9deb5
|
Added support for custom JSON mimetypes
|
2014-02-08 17:01:13 +00:00 |
|
Daniel Neuhäuser
|
d517f35d60
|
Merge branch '0.10-maintenance'
|
2014-01-02 19:21:55 +01:00 |
|
Daniel Neuhäuser
|
52098e1e4f
|
Happy New Year 2014
|
2014-01-02 19:21:07 +01:00 |
|
Will Bowlin
|
3e90de2e10
|
corrected documentation for Request get_json()
|
2013-08-23 00:22:57 -05:00 |
|
Armin Ronacher
|
964174931d
|
Added request.get_json().
|
2013-06-12 16:27:48 +01:00 |
|
Armin Ronacher
|
16df96c552
|
Merge branch 'master' into sprint-branch
|
2013-05-23 14:01:33 +01:00 |
|
Armin Ronacher
|
4c27f7a8c4
|
Removed incorrect JSON exception subclasses
|
2013-05-23 13:59:10 +01:00 |
|
Daniel Neuhäuser
|
bbdfc83902
|
Merge pull request #732 from ThomasWaldmann/exceptions_as
automated change using python-modernize: use 'as' in except
|
2013-05-18 08:24:00 -07:00 |
|
Thomas Waldmann
|
40fad2ece8
|
document python 2.6 minimum requirement, remove all stuff that refers to 2.5
|
2013-05-18 17:06:25 +02:00 |
|
Thomas Waldmann
|
6caaa8a527
|
automated change using python-modernize: use 'as' in except
|
2013-05-18 16:24:40 +02:00 |
|
Armin Ronacher
|
b146d8277a
|
Added wrapper module around simplejson/json for much simplified customization.
|
2012-10-07 23:31:48 +02:00 |
|
Armin Ronacher
|
39329bfc07
|
Merge pull request #591 from finbarrocallaghan/master
fixed some typos
|
2012-10-07 03:54:58 -07:00 |
|
Finbarr O'Callaghan
|
48f7cdd016
|
various typo fixes
|
2012-09-06 18:04:51 +01:00 |
|
Armin Ronacher
|
c3d38a21c6
|
Removed json_available hack
|
2012-08-11 03:11:40 +01:00 |
|
jfinkels
|
91efb90fb3
|
Removed extra blank line to fix ReST formatted documentation string in wrappers.py. Should have gone with pull request #439.
|
2012-04-01 13:03:22 -03:00 |
|
Anton I. Sipos
|
71b351173b
|
Move JSONHTTPException and JSONBadRequest to new module flask.exceptions.
|
2012-03-12 14:53:24 -07:00 |
|
Jeffrey Finkelstein
|
9711fd4020
|
On JSON requests, the JSON response should have Content-Type: application/json and the body of the response should be a JSON object.
|
2012-03-08 16:41:39 -05:00 |
|
Armin Ronacher
|
ee8417dac8
|
Late but 2010 -> 2011 in some files
|
2011-09-01 16:57:00 +02:00 |
|
Armin Ronacher
|
63876614b6
|
Removed second mention of json. This fixes #290
|
2011-08-09 16:16:04 +02:00 |
|
Armin Ronacher
|
ce70131975
|
If JSON parsing fails it now issues a BadRequest exception.
|
2011-08-08 21:47:26 +02:00 |
|
Armin Ronacher
|
ac99cd33a8
|
Better internal method name
|
2011-08-05 21:54:12 +02:00 |
|
Armin Ronacher
|
3400b78db2
|
Only provide that monkeypatch if all files are missing
|
2011-08-05 16:51:45 +02:00 |
|
Armin Ronacher
|
2e022cb272
|
Added debughelpers. Flask will now tell you if you forget enctype
|
2011-08-05 16:43:42 +02:00 |
|
Armin Ronacher
|
a69b437af7
|
Cleanup for the json property
|
2011-08-05 12:40:44 +02:00 |
|
Armin Ronacher
|
eba2f70c6b
|
Clarified a sentence that no longer made sense with the new docs on request objects.
|
2011-07-30 02:11:30 +02:00 |
|
Armin Ronacher
|
2866ccda1f
|
Switch to explicit Werkzeug imports
|
2011-07-15 18:03:48 +02:00 |
|
Armin Ronacher
|
ea7a172077
|
Test that dotted names work. This fixes #258
|
2011-06-27 09:20:50 +02:00 |
|
Armin Ronacher
|
7a08331ac0
|
Latest iteration of the blueprint code. Far from being done
|
2011-05-29 15:54:58 +02:00 |
|
Armin Ronacher
|
673fa18e6d
|
Merge branch 'new-request-dispatching' into blueprints
|
2011-05-28 15:14:07 +02:00 |
|
Steve Romanow
|
41952d2b25
|
respect request charset
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
|
2011-05-24 16:24:24 +02:00 |
|
Armin Ronacher
|
a06cd0a644
|
Started work on implementing blueprint based template loading
|
2011-03-19 03:28:39 +01:00 |
|
jgraeme
|
549af62290
|
Fix some typos in the docstrings
|
2010-08-03 18:07:41 +08:00 |
|
Armin Ronacher
|
b1790cca55
|
Added MAX_CONTENT_LENGTH config key
|
2010-07-14 10:47:57 +02:00 |
|
Armin Ronacher
|
6e52355eb3
|
tiny performance improvement
|
2010-07-12 23:58:43 +02:00 |
|
Armin Ronacher
|
5e1b1030e8
|
Added support for automagic OPTIONS
|
2010-07-12 23:04:24 +02:00 |
|