lib/roda/plugins/caching.rb
def finish
          a = super
          if a[0] == 304
            h = a[1]
            h.delete('Content-Type')
            h.delete('Content-Length')
          end
          a
        end
# Remove Content-Type and Content-Length for 304 responses.
Remove Content-Type and Content-Length for 304 responses.
Remove Content - Type and Content - Length for 304 responses .
def finish
          a = super
          if a[0] == 304
            h = a[1]
            h.delete('Content-Type')
            h.delete('Content-Length')
          end
          a
        end
def finish a = super if a [ 0 ] == 304 h = a [ 1 ] h . delete ( 'Content-Type' ) h . delete ( 'Content-Length' ) end a end
Remove Content-Type and Content-Length for 304 responses.
Remove Content - Type and Content - Length for 304 responses .