Content length setting for Rails support