Augustus D'Souza
709289037a
Corrected api docs
...
http://flask.pocoo.org/docs/0.10/api/#flask.Request.get_json
10 years ago
Armin Ronacher
ddb5f9dc49
Fixed a broken test
11 years ago
Armin Ronacher
fb622380d0
Use older descriptor to support older werkzeug versions
11 years ago
Armin Ronacher
75f2af7a6a
Use a condition variable instead of sleeping
11 years ago
Alexis Svinartchouk
280d865960
fix issue #879 and add a test for it
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
11 years ago
Armin Ronacher
964c4a37c0
Closed an unclosed file in the tests
11 years ago
Armin Ronacher
001100bc0b
Fixed PyStringIO in tests for 2.x
11 years ago
Armin Ronacher
8cb79fd026
Added a test for sending from directories
11 years ago
Armin Ronacher
76e2f9cd03
Fixed send_from_directory not rebasing to the root path. This fixes #921
11 years ago
Armin Ronacher
d094d5b6fc
Fixed warning and broken tests on 3.3
11 years ago
Armin Ronacher
2506c0b9a9
Fixed sending etags for file streams with a name. This fixes #930 .
11 years ago
Armin Ronacher
46c24da016
Make before_first_request a decorator
11 years ago
Armin Ronacher
ae45aed8d6
Removed an unnecessary newline
11 years ago
Armin Ronacher
6de9484c97
Fixed a typo
11 years ago
Armin Ronacher
e7c587789a
Fixe a bug in the test client causing url parameters to be removed. This fixes #968
11 years ago
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
11 years ago
Daniel Neuhäuser
a3a2f521f1
Clear exceptions when pushing a context
...
Fixes #882
11 years ago
Daniel Neuhäuser
94f4360137
Explain is_package AttributeError in find_package
...
When a PEP 302 import hook is used that doesn't implement .is_package()
an AttributeError is raised. This looks like a bug in Flask. This change
fixes that problem in the sense that it explains, that the
AttributeError is intentional.
12 years ago
Daniel Neuhäuser
f88cc2d2f9
Fix broken test_appcontext_signals test case
...
This fixes #781 and ensures that Flask is tested with blinker installed.
12 years ago
Armin Ronacher
d94b1bec24
In case we need a 0.10.2
12 years ago
Armin Ronacher
298334fffc
Bump version number to 0.10.1
12 years ago
Serge S. Koval
44e39ab071
Fixed class-based views support
12 years ago
Armin Ronacher
58ad83f37c
Added support for bytes in sessions back
12 years ago
Armin Ronacher
c502dfbbfb
Changed |tojson filter to quote single attributes
12 years ago
Armin Ronacher
5886925ff3
Started 0.10 maintenance branch for a bugfix release
12 years ago
Armin Ronacher
ac187bded7
This is 0.11-dev
12 years ago
Armin Ronacher
3b9574fec9
Bump version number to 0.10
12 years ago
Armin Ronacher
964174931d
Added request.get_json().
12 years ago
Mark Steve Samson
6565bd848e
Fix typo
12 years ago
Armin Ronacher
c889fbc231
Changed interface for `flask.g`
...
This now makes it behave like it did before, it's just an object.
It did however gain ``__contains__`` and ``__iter__`` and I added
a ``get()`` method to fetch an attribute without raising an
error. This fixes #759 .
12 years ago
Armin Ronacher
efd6e468ae
Removed view_func from route documentaiton.
...
This fixes #763 .
12 years ago
Armin Ronacher
e17024e85a
Added a testcase for some more routing things between blueprints.
12 years ago
Armin Ronacher
94c6ae51d7
Some small cleanup
12 years ago
Armin Ronacher
62dbe0e1ca
The default run method is now accepting the port from the SERVER_NAME.
12 years ago
Armin Ronacher
05479eb954
Some reindentation cleanup
12 years ago
Armin Ronacher
93073489a0
Documented changes on the g object some more
12 years ago
Armin Ronacher
0676bb8ab5
Added appcontext_pushed and appcontext_popped signals
12 years ago
Armin Ronacher
fd99abea57
Fixed too strict tests for cookie setting that broke on werkzeug changes
12 years ago
Armin Ronacher
ef72b78042
Imply the |safe on tojson in templates and change escaping logic
12 years ago
Armin Ronacher
56d3b74488
Added a test for non-ascii routing
12 years ago
Armin Ronacher
1b40b3b573
Fixed request context preservation and teardown handler interaction.
12 years ago
Armin Ronacher
6dfe933260
Removed an unnecessary as statement
12 years ago
Armin Ronacher
0190b770a1
Removed a bunch of code from _compat
12 years ago
Armin Ronacher
c629f69e69
Make the JSON module work better in the absence of an application context
12 years ago
Armin Ronacher
77d293cf49
Order JSON keys by default to avoid trashing HTTP caches
12 years ago
Armin Ronacher
3d9055b3b7
Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725
12 years ago
Armin Ronacher
e07dcb5562
Adjusted a testcase for Python 3
12 years ago
Armin Ronacher
f1918093ac
Changed teardown error handling to be more reliable.
12 years ago
Armin Ronacher
90e3906d02
Fixed some test failures
12 years ago
Armin Ronacher
9ae8487330
Fixed a broekn testcase
12 years ago