Hsiaoming Yang
a7f1a21c12
Don't rely on X-Requested-With for pretty print json response ( #2193 )
...
* Don't rely on X-Requested-With for pretty print json response
* Fix test cases for pretty print json patch
* Fix gramma error in docs for pretty print json config
* Add changelog for JSONIFY_PRETTYPRINT_REGULAR
8 years ago
Grey Li
c43560777a
Add tips for debug config with flask cli ( #2196 )
...
* Add tips for debug config with flask cli
`app.debug` and `app.config['DEBUG']` are not compatible with the `flask` script.
* Grammar fix
* Grammar fix
8 years ago
Jannis Leidel
4cf4229355
Fix rST rendering of env var ( #2085 )
...
This was broken in ad011bc32d (diff-fd40cf2be7711772de9d8316da038cceR263)
8 years ago
Josh Soref
6e6c3a4636
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
8 years ago
Jason Brazeal
d88c08e56f
improved documentation for config.from_object ( #1870 )
9 years ago
ThiefMaster
c5900a1adf
s/1.0/0.11/ in versionadded/versionchanged markers
...
closes #1817
9 years ago
Steven Loria
2bf477cfea
Add JSONIFY_MIMETYPE configuration variable ( #1728 )
...
Allow jsonify responses' mimetype to be configured
9 years ago
bagratte
9a80fe691d
minor revision of documentation.
9 years ago
Daniel Thul
2faf245876
Fix typo.
9 years ago
Timo Furrer
d526932a09
support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable
9 years ago
defuz
974e144843
docs: remove unnecessary colons
10 years ago
defuz
ad011bc32d
docs: ``DEBUG``, ``SERVER_NAME``, ``PATH_INFO``
10 years ago
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
10 years ago
defuz
8284217593
docs: ``True``, ``False`` and ``None``
10 years ago
Ivan Ivaschenko
6a6acfbb09
Using double-backticks: ``None``
10 years ago
defuz
76f3d6b45e
improve TEMPLATE_AUTO_RELOAD docs
10 years ago
defuz
f88765d504
set TEMPLATE_AUTO_RELOAD default value to None
10 years ago
Armin Ronacher
bafc139810
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
10 years ago
Armin Ronacher
84ad89ffa4
Always log now, even if debug is off.
10 years ago
lord63
e429e47a96
Correct the mistakes.
10 years ago
Nico Revin
22219f51e5
Update doclinks
...
Fix redirects and broken links
10 years ago
lord63
02e7bec21c
Fix typos in config.rst
10 years ago
lord63
7777b06809
Fix a typo in config.rst
10 years ago
Mark Hildreth
6a37c1716d
Fixed incorrect grammar in Config.rst
...
Fixed incorrect grammar in "SESSION_REFRESH_EACH_REQUEST" configuration description.
11 years ago
defuz
3e485009a8
add TEMPLATES_AUTO_RELOAD option to config
11 years ago
defuz
475b0c1cd9
fix typo (jsonfiy)
11 years ago
Armin Ronacher
d1d835c023
Added SESSION_REFRESH_EACH_REQUEST config option.
...
This also changes how sessions are being refreshed. With the new
behavior set-cookie is only emitted if the session is modified or if the
session is permanent. Permanent sessions can be set to not refresh
automatically through the SESSION_REFRESH_EACH_REQUEST config key.
This fixes #798 .
11 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
8339cb3508
Added support for unicode json dumping. This fixes #535
12 years ago
Ron DuPlain
26da6a5365
Use default send_file max-age consistently.
...
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
13 years ago
Armin Ronacher
ab110d8fe5
Documented config changes
13 years ago
Ron DuPlain
d94efc6db6
Expose send_file max-age as config value, #433 .
...
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
13 years ago
Cory Li
e4d9ccd6ec
Changing instance_root to instance_path
13 years ago
Armin Ronacher
396c4bdcc0
Fixed a typo. "Does not" of course
13 years ago
Armin Ronacher
6dccf77546
PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310
13 years ago
Armin Ronacher
6d0b3264c2
Mention localhost:5000 being pointless in the docs. It already says that down on the page but not on the key
13 years ago
Armin Ronacher
ccf464189b
Added finer control over the session cookie parameters
13 years ago
Armin Ronacher
314f9201ab
Updated instance path documentation to explain the $PREFIX lookup
13 years ago
Armin Ronacher
c844d02f1c
Added the APPLICATION_ROOT configuration variable which is used by session backends.
13 years ago
Priit Laes
713ced603e
Improve configuration docs a bit
13 years ago
Armin Ronacher
0520425055
Fixed a typo
13 years ago
Armin Ronacher
9af75546f0
Mention default locations for instance folders
13 years ago
Armin Ronacher
187cb80dcc
Documented instance root
13 years ago
Armin Ronacher
acac64e36a
Don't only catch BadRequest key errors but all bad request errors.
13 years ago
Armin Ronacher
7155f11a72
Added HTTP exception trapping. This should fix #294
13 years ago
Armin Ronacher
d38c61f42a
More modules -> blueprints
14 years ago
Simon Sapin
9beee51b0b
Clarify in docs that the SERVER_NAME config can also take a port number.
14 years ago
Armin Ronacher
086ecdb918
Better reraising of exceptions
14 years ago
Armin Ronacher
e71a5ff8de
Started work on new request dispatching. Unittests not yet updated
14 years ago