Skip to content

Commit cab3bda

Browse files
authored
fix cookie handling in session creation (#27)
1 parent 2aa0f4d commit cab3bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bokeh_fastapi/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def get_session(
6363
)
6464

6565
headers = dict(request.headers)
66-
cookies = dict(request.cookies)
66+
cookies = {name: cookie.value for name, cookie in request.cookies}
6767

6868
if app.include_headers is None:
6969
excluded_headers = app.exclude_headers or []

0 commit comments

Comments
 (0)