mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade to httpx 0.20
* Upgrade to httpx 0.20, closes #1488 * TestClient.post() should not default to following redirects
This commit is contained in:
parent
2a8c669039
commit
b267b57754
12 changed files with 60 additions and 71 deletions
|
|
@ -42,7 +42,6 @@ async def test_client_post(datasette, prefix):
|
|||
data={
|
||||
"message": "A message",
|
||||
},
|
||||
allow_redirects=False,
|
||||
)
|
||||
assert isinstance(response, httpx.Response)
|
||||
assert response.status_code == 302
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue