Hello team! :slightly_smiling_face: Looking at `J...
# http4k
a
Hello team! 🙂 Looking at
JavaHttpClient
, some
IOExceptions
are caught (
UnknownHostException
,
ConnectException
,
HttpTimeoutException
). Other exceptions, for example a
SocketException
caused by a connection reset, need to be handled at call site. What’s the reason for that?
d
Missing code.... 🙂
the general gist is that we try to handle everything and turn it into an HTTP response (with a client flag if it was generated client side)
a
Makes sense, thanks for explaining 🙂 Happy to create an issue/contribute if you think it’s something worth improving.
d
please do - if we've missed this stuff it's not on purpose!
a
Will do 👍🏼