v1.5.0
Added stream_length
option. If a stream is passed and its value is 0
, detect the stream's length via stat
and set it as 'Content-Length' header. If higher than 0
, set is as the 'Content-Length' header directly.
Added stream_length
option. If a stream is passed and its value is 0
, detect the stream's length via stat
and set it as 'Content-Length' header. If higher than 0
, set is as the 'Content-Length' header directly.