Open
Description
Sadly HTTPClientRequest
contains a streamable body which is typically a reference to a (frequently) consume-once AsyncSequence
. That means it's not actually a value type.
That's a major API winkle that should be fixed as soon as feasible.
My recommendation would be to separate the request and the body. Something like try await httpClient.execute(request, body: myStream)
.