lib/hanami/server.rb
def middleware
      mw = Hash.new { |e, m| e[m] = [] }
      mw["deployment"].concat([::Rack::ContentLength, ::Rack::CommonLogger])
      mw["development"].concat(mw["deployment"] + [::Rack::ShowExceptions, ::Rack::Lint])
      mw
    end
# Primarily this removes the ::Rack::Chunked middleware
# which is the cause of Safari content-length bugs.
#
# @since 0.8.0
Primarily this removes the ::Rack::Chunked middleware
which is the cause of Safari content-length bugs.
Primarily this removes the :: Rack :: Chunked middleware which is the cause of Safari content - length bugs .
def middleware
      mw = Hash.new { |e, m| e[m] = [] }
      mw["deployment"].concat([::Rack::ContentLength, ::Rack::CommonLogger])
      mw["development"].concat(mw["deployment"] + [::Rack::ShowExceptions, ::Rack::Lint])
      mw
    end
def middleware mw = Hash . new { | e , m | e [ m ] = [ ] } mw [ "deployment" ] . concat ( [ :: Rack :: ContentLength , :: Rack :: CommonLogger ] ) mw [ "development" ] . concat ( mw [ "deployment" ] + [ :: Rack :: ShowExceptions , :: Rack :: Lint ] ) mw end
Primarily this removes the ::Rack::Chunked middleware
which is the cause of Safari content-length bugs.
Primarily this removes the :: Rack :: Chunked middleware which is the cause of Safari content - length bugs .
since
None