https://kotlinlang.org logo
#ktor
Title
# ktor
r

ribesg

06/05/2019, 8:58 AM
Found a small issue, this doesn’t work when using okhttp3 engine:
Copy code
<http://http.post|http.post>(url) {
            body = EmptyContent
        }
👀 1
I think that it passes null or something like that when building the request, and okhttp refuses a post request without a body
e

e5l

06/05/2019, 8:59 AM
Could you file an github issue?
r

ribesg

06/05/2019, 8:59 AM
Yep
🙏 1
Wow my browser did a weird thing and posted 3 times, nice. But here it is https://github.com/ktorio/ktor/issues/1175
🙏 1