flame 3.5.1 → 3.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flame/dispatcher.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddfac9ca1683d37d1782db0a2d75a6ead827ad5f
4
- data.tar.gz: 4e48da1837081b1e75b6cda68129a35afcb78bd7
3
+ metadata.gz: 23607516bfdad9950e8dda86e0d603026a852a26
4
+ data.tar.gz: 35085671967fa0ed58751675b9f23305a0376a56
5
5
  SHA512:
6
- metadata.gz: 399fef3674ef559d1bf12de273a0ad922be1c5b490039af822b54fce6b2b9cc3304fef066506dda33d197a53cb60ea2e8dd26525f72a4bb8b5f098d0aef1a332
7
- data.tar.gz: d10eb91b13908d53218b69152faf652ae0a834cea16ec2dd46894cd298d75a320c7a47777c4cf3691dca3313c3ab0be2c44e4764f7f1451302969e8c28f1053d
6
+ metadata.gz: 91dac6fe1127feb439fe69c68bb9de9528a9834a742e807377fe38788fe78b4f2b8e81766225b5a1c675d6abdb7dba38c3d56b1a10fe2d0232e81dbc37b916d6
7
+ data.tar.gz: ae3703f5353e6896e72a7aa25dc9517de0debc8b0ac51987d918b3d59953bb74ed22b241da0ffd26fb2c2ebc00c32e6c21a2afd8cacad6c4974c3a4111207fc1
@@ -77,6 +77,7 @@ module Flame
77
77
  ## Generate default body of error page
78
78
  def default_body
79
79
  return if Rack::Utils::STATUS_WITH_NO_ENTITY_BODY.include?(status)
80
+ response.headers[Rack::CONTENT_TYPE] = 'text/html'
80
81
  "<h1>#{Rack::Utils::HTTP_STATUS_CODES[status]}</h1>"
81
82
  end
82
83
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flame
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov