title: Response object scala.Unit
body: <p>I have an action that returns <code>Unit</code>:</p>
  <pre><code>post(&quot;/settings&quot;) {
        blahblahblah...
        Unit
      }
  </code></pre>
  <p>Previously, the client received an empty response.</p>
  <p>But after I upgraded the Scalatra version from 2.5.0 to 2.7.1 and Java from 8 to 11, the response now contains the following text:</p>
  <pre><code>object scala.Unit
  </code></pre>
  <p><a href="https://i.stack.imgur.com/7XIFK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7XIFK.png" alt="enter image description here" /></a></p>
  <p>How can I fix this?</p>