summary refs log tree commit diff
path: root/rust/src/http.rs
diff options
context:
space:
mode:
authorV02460 <git@kaialexhiller.de>2024-11-27 11:46:00 +0100
committerGitHub <noreply@github.com>2024-11-27 10:46:00 +0000
commita58f09acc78d2497fc7c3c8930c42233bcc7428c (patch)
tree1d6df1ba6f2116c98d1f9b7b7ebf07f24c75cabf /rust/src/http.rs
parentMSC4108: Add a Content-Type header on the PUT response (#17253) (diff)
downloadsynapse-a58f09acc78d2497fc7c3c8930c42233bcc7428c.tar.xz
Bump pyo3 to v0.23.2 (#17966)
Keep up-to-date with pyo3 releases. This bump enables Python 3.13
support and resolves deprecations.

Links for quick reference:
https://github.com/PyO3/pyo3/releases
https://github.com/davidhewitt/pythonize/releases
https://github.com/vorner/pyo3-log
Diffstat (limited to 'rust/src/http.rs')
-rw-r--r--rust/src/http.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/http.rs b/rust/src/http.rs

index af052ab721..63ed05be54 100644 --- a/rust/src/http.rs +++ b/rust/src/http.rs
@@ -70,7 +70,7 @@ pub fn http_request_from_twisted(request: &Bound<'_, PyAny>) -> PyResult<Request let headers_iter = request .getattr("requestHeaders")? .call_method0("getAllRawHeaders")? - .iter()?; + .try_iter()?; for header in headers_iter { let header = header?;