diff options
Diffstat (limited to 'apifw/bottleapp.py')
-rw-r--r-- | apifw/bottleapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apifw/bottleapp.py b/apifw/bottleapp.py index 541ddfe..99cced0 100644 --- a/apifw/bottleapp.py +++ b/apifw/bottleapp.py @@ -249,7 +249,7 @@ class BottleApplication: def _callback_with_body(self, callback): def wrapper(*args, **kwargs): - kwargs['raw_uri_path'] = bottle.request.environ['RAW_URI'] + kwargs['raw_uri_path'] = bottle.request.environ.get('RAW_URI', '') content_type, body = self._get_request_body() response = callback(content_type, body, *args, **kwargs) return bottle.HTTPResponse( |