open fun getInputStream(): InputStream
This implementation throws IllegalStateException if attempting to read the underlying stream multiple times.