georgi-kontrol 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/kontrol/application.rb +1 -0
  2. metadata +1 -1
@@ -121,6 +121,7 @@ module Kontrol
121
121
  response.status = status if response.status.nil?
122
122
  response.header.merge!(header)
123
123
  response.body = body if response.body.empty?
124
+ response['Content-Length'] = response.body.size
124
125
  response['Content-Type'] = guess_content_type if response['Content-Type'].empty?
125
126
 
126
127
  response.finish
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: georgi-kontrol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Georgi