Calling call.receiveOrNull() on an empty request body got me a 415 Unsupported Media Type. Is receiveOrNull() not supposed to return null in case it cannot transform to the requested type ?
For sure it's a design issue. For now the only workaround is to catch UnsupportedMediaTypeException
Fixed in 0.9.3
Most helpful comment
For sure it's a design issue. For now the only workaround is to catch
UnsupportedMediaTypeException