span>.<span class="ruby-identifier">extname</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
      <span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">ext</span>.<span class="ruby-identifier">nil?</span>
      <span class="ruby-identifier">content_types_by_ext</span>[<span class="ruby-identifier">ext</span>] <span class="ruby-operator">||=</span> []
      <span class="ruby-identifier">conten