You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new RequestBuilder().setUrl("http://localhost:9004/").setMethod("POST").setBody(publisher).setContentLength(3)
while publisher is of type Publisher<ByteBuffer> the setContentLength will be ignored?! And a Header of type Transfer-Encoding: chunked will be added. However it would be great to set that manually on Streaming bodies so if a Content-Length is there it will be used else it's the old behavior. The use case is simple, stream data where the size is known or computed and the receiving client needs to know the Content-Length.
The text was updated successfully, but these errors were encountered:
Actually when running something like that:
while publisher is of type
Publisher<ByteBuffer>
the setContentLength will be ignored?! And a Header of typeTransfer-Encoding: chunked
will be added. However it would be great to set that manually on Streaming bodies so if aContent-Length
is there it will be used else it's the old behavior. The use case is simple, stream data where the size is known or computed and the receiving client needs to know theContent-Length
.The text was updated successfully, but these errors were encountered: