Marcel Hellkamp

Results 233 comments of Marcel Hellkamp

Or simply:: ``` for plugin in app.plugins: if isinstance(plugin, bottle.JSONPlugin): plugin.json_dumps = my_custom_json_dumps ``` But you are right, this should be more obvious. I'll keep this issue open.

The actual bug (or bad design decision) seems to be that bottle overwrites `environ['PATH_INFO']` in `Bottle._handle()` with a re-encoded value, which breaks the WSGI spec for mounted WSGI apps, including...

Since you are not mounting or redirecting, your issue is not related to this bug or #792. Please open a new issue. Also #792 seems to be fixed by now.

Also, your exact example works fine for valid utf-8 strings, encoded or not. `%E8` is not a valid UTF-8 string, so the error message is quite accurate.

The original issue (mounting apps) is still present, though. Pull requests are welcomed.

The issue was fixed in master ( see #1111 and 5813b87 ) but not back-ported to 0.12 yet.

Since Bottle-0.12 will be the last release supporting Python 2 (2.5+ actually) and very old versions of Python 3 (3.2+), it will become an LTS release and will be maintained...

The release-0.12 branch has its own Makefile and test suite. We can remove any trace of 2.7 or 3.4 support from the master branch.

Yes, it probably wasn't the best idea to start with this before 2.7 is actually EOL and expect that there are no conflicts.

Yes, I meant that the `Request.check_mtime()` and `Request.check_etag()` methods get called explicitly by the callback handler functions.