The meaning of String#length changed between 1.8 and 1.9. This commit clarifies that Content-Length is the number of bytes, and monkey-patches String#bytesize into 1.8.
I think the default setup for Heroku is now Ruby 1.9, so it makes sense to ensure that Toto works with it.
The meaning of String#length changed between 1.8 and 1.9. This commit clarifies that Content-Length is the number of bytes, and monkey-patches String#bytesize into 1.8.
I think the default setup for Heroku is now Ruby 1.9, so it makes sense to ensure that Toto works with it.
See #91, #86, etc.