[backend] Code cleanup
This commit is contained in:
parent
c67984c411
commit
49f5828a59
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public class WebFingerService(
|
|||
var hostMetaUrl = $"{proto}://{domain}/.well-known/host-meta";
|
||||
using var res = await client.SendAsync(httpRqSvc.Get(hostMetaUrl, ["application/xrd+xml"]),
|
||||
HttpCompletionOption.ResponseHeadersRead);
|
||||
using var stream = await res.Content.ReadAsStreamAsync();
|
||||
await using var stream = await res.Content.ReadAsStreamAsync();
|
||||
|
||||
var xml = new XmlDocument();
|
||||
xml.Load(stream);
|
||||
|
|
Loading…
Add table
Reference in a new issue