request.client broken in version 0.35.0? #2408
Answered
by
Kludex
jsoques
asked this question in
Potential Issue
-
I have been using request.client.host previously and when upgraded to 0.35.0 client is always 'None'. I have been using it to obtain the clients address as indicated here: https://www.starlette.io/requests/. I have reverted back to version 0.32.0.post1. This occurs when using TestClient only apparently so my tests are broken (testing FastAPI project). |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Jan 11, 2024
Replies: 1 comment 4 replies
-
That is the intended behavior. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
jsoques
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is the intended behavior.