Marcel Hellkamp
Marcel Hellkamp
I would prefer to actually move from `os.path` to `pathlib.Path` whenever possible, ans support both `str` and `os.PathLike` as input to those functions/methods.
0.12 adds a syntax for code blocks, that seems to be in conflict with underscore.js. It will be possible to change the syntax for bottle templates, but that API is...
JSON is defined as UTF-8 encoded text, so it should be fine to include non-ascii characters in JSON strings and there is no need for these unicode escape sequences. It...
I'd like to introduce two new config parameters: - `autojson.ascii` (default: false). If true, convert all non-ascii characters to escape sequences. - `autojson.compact` (default: false) If true, return compact (but...
http://i.imgur.com/0PVtmcG.gif
I just committed a long overdue ConfigDict patch and a more sophisticated autojson config to master. This feature request should now be quite straight forward to implement. See Bottle.__init__() and...
Header values in WSGI environment dicts should never be `None` as far as I know. Empty headers are represented by an empty string and missing headers should not be in...
Hm. Problem is, returning `None` (as in #1453) would just move the bug into application code, because applications would expect string values. Throwing `KeyError` is also bad because the key...
> this breaks previous behaviour. Yes and no. Yes the behavior changed, but this is not a 'breaking change' because Bottle expects a WSGI compliant environment dictionary and if that...
Browsers follow https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data so field- and file-names should be encoded with `utf8` by default for all modern web pages (plus partial percent encoding for exactly three special characters). All the...