Return CORS headers on GET

This commit is contained in:
Hugh Nimmo-Smith
2025-11-17 18:21:27 +00:00
parent 92cda2eb49
commit 9979d126d8

View File

@@ -247,6 +247,7 @@ impl MSC4108v2025RendezvousHandler {
})?;
let mut response = Response::new(response_body.as_bytes());
*response.status_mut() = StatusCode::OK;
prepare_headers(response.headers_mut());
http_response_to_twisted(twisted_request, response)?;
Ok(())