open fun setOutputStreaming(outputStreaming: Boolean): Unit
Set if the underlying URLConnection can be set to 'output streaming' mode. Default is true.
When output streaming is enabled, authentication and redirection cannot be handled automatically. If output streaming is disabled, the HttpURLConnection#setFixedLengthStreamingMode and HttpURLConnection#setChunkedStreamingMode methods of the underlying connection will never be called.