Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/chalice
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 51c0ddab173377eca4f49ef44d86899b77bd8b79
Choose a base ref
..
head repository: aws/chalice
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 65ad6c71c164168dac5562239dbb2f2c771f70f9
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 chalice/app.py
2 changes: 1 addition & 1 deletion chalice/app.py
Original file line number Diff line number Diff line change
@@ -419,7 +419,7 @@ def __init__(self, event_dict: Dict[str, Any],
if query_params is None else MultiDict(query_params)
self.headers: CaseInsensitiveMapping = \
CaseInsensitiveMapping(event_dict['headers'])
self.uri_params: Dict[str, str] = event_dict['pathParameters']
self.uri_params: Dict[str, str] = event_dict['pathParameters'] or {}
self.method: str = event_dict['requestContext']['httpMethod']
self._is_base64_encoded = event_dict.get('isBase64Encoded', False)
self._body: Any = event_dict['body']