You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested by @sethmlarson in #276 (comment), it would be better to use a URL property on the server provided by the server and https_server fixtures instead. This way, we can change the root URL in one place (close to wherre the server is actually defined), while being able to build child URLs using server.url.copy_with(path="/echo").
This can probably be done by creating and using a uvicorn Server subclass with the URL instance set as a class attribute.
Activity
Add server.url to test server encode#288
Add server.url to test server encode#288