File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ Changelog
14
14
=========
15
15
### 2.5.1 - TBD
16
16
- Optimizations and simplification of async support, taking advantadge of Python3.4 deprecation.
17
+ - Fix issue #785 : Empty query params are not ignored on 2.5.0
18
+ - Added support for modifying falcon API directly on startup
17
19
- Initial ` black ` formatting of code base, in preperation for CI enforced code formatting
18
20
19
21
### 2.5.0 - May 4, 2019
Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ def __init__(self, api):
78
78
79
79
class HTTPInterfaceAPI (InterfaceAPI ):
80
80
"""Defines the HTTP interface specific API"""
81
-
82
81
__slots__ = (
83
82
"routes" ,
84
83
"versions" ,
85
84
"base_url" ,
85
+ "falcon" ,
86
86
"_output_format" ,
87
87
"_input_format" ,
88
88
"versioned" ,
@@ -356,7 +356,8 @@ def version_router(
356
356
357
357
def server (self , default_not_found = True , base_url = None ):
358
358
"""Returns a WSGI compatible API server for the given Hug API module"""
359
- falcon_api = falcon .API (middleware = self .middleware )
359
+ falcon_api = self .falcon = falcon .API (middleware = self .middleware )
360
+ falcon_api .req_options .keep_blank_qs_values = False
360
361
default_not_found = self .documentation_404 () if default_not_found is True else None
361
362
base_url = self .base_url if base_url is None else base_url
362
363
You can’t perform that action at this time.
0 commit comments