Skip to content

Commit 51481dc

Browse files
authored
docs: typo in function
Signed-off-by: Heitor Lessa <[email protected]>
1 parent 88da314 commit 51481dc

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 prefer a case-insensitive lookup of the header value, the `get_header_value` utility function automatically handles it.
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 `app.current_event.get_header_value` 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)