Armin Ronacher
0bf777ed81
Do not use Date, use Last-Modified. This fixes #164
2011-02-05 17:41:02 +01:00
mvantellingen
b0ca7e5af1
Implement the endpoint decorator. This allows you to easily map views to endpoints when using the werkzeug routing.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-24 13:49:11 +01:00
Dag Odenhall
4a45345fc4
Fix typo in send_file docs
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-20 16:45:49 +01:00
Armin Ronacher
99be2ec022
Flask no longer internally depends on rules being added through the add_url_rule function
2011-01-16 17:13:25 +01:00
Ivo Danihelka
07688d7b93
Fixed 'schemal' doc typo.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-16 14:29:56 +01:00
Daniel Gerber
9ae4eba986
fix subdomain for static rule on registering module
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-01-08 00:51:16 +01:00
Armin Ronacher
ed70b42798
Make sure that windows servers do not allow downloading arbitrary files
2010-12-23 14:15:18 +01:00
Armin Ronacher
fb88d9d025
Whitespace nazi was here
2010-12-07 22:08:46 +01:00
Armin Ronacher
4b65c7ed5a
Added the ability to override the test client's class. This fixes #148
2010-12-06 03:16:13 +01:00
Armin Ronacher
8569dfee61
Added a PROPAGATE_EXCEPTIONS flag
2010-11-29 08:57:38 +01:00
Georg Brandl
858806da69
Hint for positioning file pointer correctly before calling send_file().
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-11-08 18:29:09 +01:00
Dag Odenhall
d4c44a7d8c
BaseConverter is in werkzeug.routing
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-25 17:49:37 +02:00
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>
2010-10-22 18:19:21 +03:00
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>
2010-10-22 15:36:47 +03:00
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>
2010-10-19 09:09:58 +02:00
Armin Ronacher
1e4e578d73
Added the extensions dictionary on the application
2010-09-12 13:18:08 -07:00
Armin Ronacher
eb67242e1c
Fixed a typo in a docstring in app.py
2010-09-10 11:01:58 -07:00
Heungsub Lee
6fca662c84
Fix the 108th issue.
2010-08-20 17:09:19 +08:00
Armin Ronacher
a3a843999b
normpath is now used before loading templates
2010-08-09 15:16:02 +02:00
Armin Ronacher
fda14678c0
Deprecated send_file etag support and mimetype guessing for file-like objects. This fixes #104
2010-08-07 13:36:39 +02:00
Armin Ronacher
faa1c71e45
Request local objects now fail properly with a RuntimeError. This fixes #105
2010-08-07 13:02:53 +02:00
jgraeme
549af62290
Fix some typos in the docstrings
2010-08-03 18:07:41 +08:00
Armin Ronacher
138faab121
Merge branch 'master' of github.com:mitsuhiko/flask
2010-07-30 00:03:25 +02:00
Armin Ronacher
778e44e39e
Improved error message for configuration files
2010-07-30 00:03:06 +02:00
Stephane Wirtel
801918603c
Remove an unused function
2010-07-30 05:55:10 +08:00
Armin Ronacher
952967fcab
In 0.7, make_default_options_response is a public API
2010-07-28 01:39:25 +02:00
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>
2010-07-28 01:28:00 +02:00
Armin Ronacher
498db01310
Merge branch 'master' of github.com:mitsuhiko/flask
2010-07-25 17:34:55 +02:00
Armin Ronacher
fee5bdafe8
Code cleanup
2010-07-25 17:34:47 +02:00
Ali Afshar
a993a314fe
Removed unused import
2010-07-25 23:27:14 +08:00
Armin Ronacher
7680d52f42
Added support for subdomain bound modules
2010-07-23 13:29:21 +01:00
Armin Ronacher
2912ff6f6e
Added some whitespace
2010-07-18 20:44:07 +02:00
Armin Ronacher
27d28dcef4
Added Session again to the public API because existing code might import it
2010-07-18 20:43:50 +02:00
Armin Ronacher
405d4492e4
Documented more changes
2010-07-17 15:56:58 +02:00
Armin Ronacher
b6cae028f7
Removed useless instanciation
2010-07-17 15:53:32 +02:00
Armin Ronacher
e5008386b1
Added docs on use_evalex. This fixes #90
2010-07-17 15:41:05 +02:00
Armin Ronacher
a3a72e2d8d
Added middlewares to quickstart. This fixes #88
2010-07-17 15:39:24 +02:00
Armin Ronacher
91e9632a37
Moved wsgi_app down to a more logical location
2010-07-17 15:26:35 +02:00
Armin Ronacher
e0712b47c6
Added support for signals
2010-07-17 14:39:28 +02:00
Armin Ronacher
90b8df3e4c
Fixed paren in docstring
2010-07-17 13:10:50 +02:00
Armin Ronacher
6fc1492357
Added make_response
2010-07-17 11:36:16 +02:00
Armin Ronacher
1202996c63
Fixed a template loading bug
2010-07-15 18:10:26 +02:00
Armin Ronacher
f5b8c08284
endpoint is optional for modules. This fixes #86
2010-07-15 14:35:02 +02:00
Armin Ronacher
b1790cca55
Added MAX_CONTENT_LENGTH config key
2010-07-14 10:47:57 +02:00
Armin Ronacher
85ff63c32e
Emit correct date. In theory
2010-07-13 23:52:55 +02:00
Armin Ronacher
aa3d8398fd
Config is now available in templates, context processors no longer override keys
2010-07-13 23:30:29 +02:00
Armin Ronacher
ed16ae2183
Always register URL rules. This fixes #81
2010-07-13 23:14:53 +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
a532568680
Merge branch 'master' of github.com:mitsuhiko/flask
2010-07-12 18:05:16 +02:00