`URL('path/to').with_scheme('http')` should work. Now it produces `scheme replacement is not allowed for relative URLs`
URL('path/to').with_scheme('http')should work.Now it produces
scheme replacement is not allowed for relative URLs