invalid format of client's host in testclient #2109
-
According to ASGI specification, However, in starlette/starlette/testclient.py Line 246 in f7bf741 starlette/starlette/testclient.py Line 264 in f7bf741 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Same here, it is breaking my tests that expecting IP |
Beta Was this translation helpful? Give feedback.
-
The specification of ASGI message format: https://asgi.readthedocs.io/en/latest/specs/www.html?highlight=scope%5B%22client%22%5D#http-connection-scope
|
Beta Was this translation helpful? Give feedback.
-
I've created #2295. |
Beta Was this translation helpful? Give feedback.
I've created #2295.