Skip to content

Commit 3af19fd

Browse files
Update docs/core/event_handler/api_gateway.md
Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: Piotr Grzesik <[email protected]>
1 parent a43e667 commit 3af19fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/event_handler/api_gateway.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ You can access the raw payload via `body` property, or if it's a JSON string you
239239

240240
#### Headers
241241

242-
Similarly to [Query strings](#query-strings-and-payload), you can access headers as dictionary via `app.current_event.headers`, or by name via `get_header_value`. If you'd like to perform a case-insensitive lookup of the header value, the `get_header_value` utility function will do it by default.
242+
Similarly to [Query strings](#query-strings-and-payload), you can access headers as dictionary via `app.current_event.headers`, or by name via `get_header_value`. If you prefer a case-insensitive lookup of the header value, the get_header_value utility function automatically handles it.
243243

244244
```python hl_lines="19" title="Accessing HTTP Headers"
245245
--8<-- "examples/event_handler_rest/src/accessing_request_details_headers.py"

0 commit comments

Comments
 (0)