bottle icon indicating copy to clipboard operation
bottle copied to clipboard

Avoid KeyError: 'PATH_INFO' errors

Open bulletmark opened this issue 2 years ago • 0 comments

I use bottle often and in many of the applications I get frequent tracebacks:

Traceback (most recent call last):
  File "/src/pvoproxy/venv/lib/python3.11/site-packages/bottle.py", line 863, in _handle
     path = environ['bottle.raw_path'] = environ['PATH_INFO']
                                         ~~~~~~~^^^^^^^^^^^^^
KeyError: 'PATH_INFO'

This PR fixes that.

bulletmark avatar Aug 01 '23 01:08 bulletmark