Commit graph

37 commits

Author SHA1 Message Date
Daniel Neuhäuser
52098e1e4f Happy New Year 2014 2014-01-02 19:21:07 +01: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
Armin Ronacher
51a89bf35e Restored 2.5 compatibility and actual fix for the json problem 2010-07-04 20:07:03 +02:00
Armin Ronacher
80eb6cfffc Switched to relative imports in the package 2010-07-04 20:00:23 +02:00
Armin Ronacher
4f8ee8f129 Added missing comments, fixed setup.py and made tests pass 2010-07-04 11:35:20 +02:00
Justin Quick
c4f64c1c47 working import layout for module 2010-07-02 15:10:32 -04:00
Justin Quick
d0dc89ea80 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 2010-07-02 14:20:58 -04:00