#52 ✓wontfix
James Cook

Read error: #<NoMethodError: private method `split' called for 0:Fixnum>

Reported by James Cook | June 12th, 2009 @ 02:34 AM

Setting the value of a header to a Fixnum throws "Read error: #<NoMethodError: private method split' called for 0:Fixnum>" @ line 68 in /rack/handler/mongrel.rb

If I coerce the value to string in that loop, all is good.

More detail .. in the ApplicationController for one of my projects I have a method that sets a bunch of headers to prevent browser caching. In one header, I set 'Expire' to 0 (Fixnum).

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages