Closed
Description
[THIS SHOULD BE FIXED AFTER #217]
let request = try! HTTPClient.Request(url: "http://localhost:\(httpBin.port)/get",
method: .POST,
body: .stream { streamWriter in
this Request
will actually error (sort of, see #217) but it should just assume transfer-encoding: chunked
, the user clearly hasn't given a content length.
If the user manually set a content-length
in headers:
, then we should obvs use that.