Replace httpx and httpx-sse with httpx2 (#2972)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
This commit is contained in:
parent
1216c53693
commit
2713b53b12
1 changed files with 1029 additions and 948 deletions
|
|
@ -41,7 +41,7 @@ kill "$SERVER_PID"
|
|||
## Caveats
|
||||
|
||||
- `transport_security=NO_DNS_REBIND` — DNS-rebinding protection is on by default
|
||||
for localhost binds; the harness disables it because the in-process httpx
|
||||
for localhost binds; the harness disables it because the in-process httpx2
|
||||
client sends no `Origin` header. Drop the kwarg for a real deployment.
|
||||
- `streamable_http_app()` reshapes in a later release; the call is isolated in
|
||||
`build_app()` so the change touches one line per server file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue