diff options
Diffstat (limited to 'core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala')
-rw-r--r-- | core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala b/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala index dc6f8a2..50f6d76 100644 --- a/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala +++ b/core/src/main/scala/com/softwaremill/sttp/HttpConnectionSttpHandler.scala @@ -120,7 +120,8 @@ object HttpConnectionSttpHandler extends SttpHandler[Id, Nothing] { r.parse(asString(enc)) case ResponseAsStream() => - // only possible when the user requests the response as a stream of Nothing. Oh well ... + // only possible when the user requests the response as a stream of + // Nothing. Oh well ... throw new IllegalStateException() } } |