Ivo Danihelka
07688d7b93
Fixed 'schemal' doc typo.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Daniel Gerber
9ae4eba986
fix subdomain for static rule on registering module
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
ed70b42798
Make sure that windows servers do not allow downloading arbitrary files
14 years ago
Armin Ronacher
fb88d9d025
Whitespace nazi was here
14 years ago
Armin Ronacher
4b65c7ed5a
Added the ability to override the test client's class. This fixes #148
14 years ago
Armin Ronacher
8569dfee61
Added a PROPAGATE_EXCEPTIONS flag
14 years ago
Georg Brandl
858806da69
Hint for positioning file pointer correctly before calling send_file().
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Dag Odenhall
d4c44a7d8c
BaseConverter is in werkzeug.routing
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Pedro Algarvio
a327452540
Better handling for `test_request_context` don't just append the port.
...
Also implemented a proper initial environment to use with
`Flask.test_app()` based on the application's configuration.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Pedro Algarvio
88883aa6db
Fix for Flask's ticket 126. A proper environment is now built to use
...
with `test_request_context()`.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Jeff Weber
405c2992f8
Updated from_pyfile so its dynamic module creation uses the imp module instead of type.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
1e4e578d73
Added the extensions dictionary on the application
15 years ago
Armin Ronacher
eb67242e1c
Fixed a typo in a docstring in app.py
15 years ago
Heungsub Lee
6fca662c84
Fix the 108th issue.
15 years ago
Armin Ronacher
a3a843999b
normpath is now used before loading templates
15 years ago
Armin Ronacher
fda14678c0
Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104
15 years ago
Armin Ronacher
faa1c71e45
Request local objects now fail properly with a RuntimeError. This fixes #105
15 years ago
jgraeme
549af62290
Fix some typos in the docstrings
15 years ago
Armin Ronacher
778e44e39e
Improved error message for configuration files
15 years ago
Stephane Wirtel
801918603c
Remove an unused function
15 years ago
Armin Ronacher
952967fcab
In 0.7, make_default_options_response is a public API
15 years ago
Armin Ronacher
dbf55de7e8
Fixed an issue where the default `OPTIONS` response was
...
not exposing all valid methods in the `Allow` header.
This fixes #97
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
15 years ago
Armin Ronacher
fee5bdafe8
Code cleanup
15 years ago
Ali Afshar
a993a314fe
Removed unused import
15 years ago
Armin Ronacher
7680d52f42
Added support for subdomain bound modules
15 years ago
Armin Ronacher
2912ff6f6e
Added some whitespace
15 years ago
Armin Ronacher
27d28dcef4
Added Session again to the public API because existing code might import it
15 years ago
Armin Ronacher
405d4492e4
Documented more changes
15 years ago
Armin Ronacher
b6cae028f7
Removed useless instanciation
15 years ago
Armin Ronacher
e5008386b1
Added docs on use_evalex. This fixes #90
15 years ago
Armin Ronacher
a3a72e2d8d
Added middlewares to quickstart. This fixes #88
15 years ago
Armin Ronacher
91e9632a37
Moved wsgi_app down to a more logical location
15 years ago
Armin Ronacher
e0712b47c6
Added support for signals
15 years ago
Armin Ronacher
90b8df3e4c
Fixed paren in docstring
15 years ago
Armin Ronacher
6fc1492357
Added make_response
15 years ago
Armin Ronacher
1202996c63
Fixed a template loading bug
15 years ago
Armin Ronacher
f5b8c08284
endpoint is optional for modules. This fixes #86
15 years ago
Armin Ronacher
b1790cca55
Added MAX_CONTENT_LENGTH config key
15 years ago
Armin Ronacher
85ff63c32e
Emit correct date. In theory
15 years ago
Armin Ronacher
aa3d8398fd
Config is now available in templates, context processors no longer override keys
15 years ago
Armin Ronacher
ed16ae2183
Always register URL rules. This fixes #81
15 years ago
Armin Ronacher
6e52355eb3
tiny performance improvement
15 years ago
Armin Ronacher
5e1b1030e8
Added support for automagic OPTIONS
15 years ago
Armin Ronacher
d12d73263f
Reverse order of execution of post-request handlers. This fixes #82
15 years ago
Thomas Schranz
0198313a22
added workaround for json on Google AppEngine
...
Google AppEngine unfortunately does not offer json/simplejson where
we would expect it to be, but since they do offer django and django
comes with simplejson as a frozen dependency, we can import it
from there.
prior art:
http://github.com/facebook/python-sdk/blob/master/src/facebook.py#L50
15 years ago
florentx
16e4d5a655
Various typos.
15 years ago
Armin Ronacher
0a93c552cc
Fixed a template lookup error
15 years ago
Armin Ronacher
77743a5f15
Some documentation improvements
15 years ago
Armin Ronacher
da514b3984
Respect the domain for the session cookie. This fixes #79
15 years ago
Armin Ronacher
77e2fbf249
Added a separate logging module
15 years ago