paolochiodi / htmlcompressor

A work in progress port of google's htmlcompressor.jar
Other
150 stars 26 forks source link

use content.bytesize over content.length #7

Closed jordanandree closed 11 years ago

jordanandree commented 11 years ago

on ruby 1.9.3, getting a wrong Content Length error from Rack::Lint. Looking into the gem, content.length should be replaced with content.bytesize to fix the error.

paolochiodi commented 11 years ago

Sorry for being late on this one. I'll review the pull request and update the gem on the week end

paolochiodi commented 11 years ago

merged and uploaded to rubygems thank you