https://kotlinlang.org logo
#http4k
Title
# http4k
c

Cosmin Victor Celea

05/11/2020, 1:14 PM
Hi we are trying to upgrade http4k but we are getting a compile error because body.gzipped() now returns a CompressionResult. Any ideas?
d

dave

05/11/2020, 1:18 PM
I didn't do the change, but it looks like the CompressionResult just has a body val field that you can use to get the body.
👍 1
If that is your code, take a look at https://github.com/http4k/http4k/issues/339
c

Cosmin Victor Celea

05/11/2020, 1:23 PM
Ok but that means that we can not just replace our version with the new gzip filter that was introduced in http4k
d

dave

05/11/2020, 1:31 PM
1. sorry - I don't understand - the new http4k should be able to replace your one because they seem to be doing the same thing now(?).