by-string">&quot;/&quot;</span> <span class="ruby-keyword">do</span>
  <span class="ruby-identifier">headers</span>[<span class="ruby-string">&quot;Content-Encoding&quot;</span>] = <span class="ruby-string">&quot;zstd&quot;</span>
  <span class="ruby-constant">ZSTDS</span><span class="ruby-operator">::</span><span class="ruby-constant">String</span>.<span class="ruby-identifier">compress</span> <span class="ruby-string">&quot;sample string&quot;</span>
<span class="ruby-keyword">end</span>
</pre>

<p>All fu