codyoss
01/26/2019, 2:59 AMHttpStatusCode
? It seems like the code just constructs a new one one that matches the status Int
. I found this odd when I did a when
switch on the status from HttpResponse
and the status did not match HttpStatusCode.OK
.e5l
01/28/2019, 8:01 AMdescription
field depends on real server response status line: some APIs transfer valuable information there so we can’t just ignore it.HttpStatusCode.equals
to match only int code, could you file an issue?codyoss
01/28/2019, 1:04 PM