On Wed, Jul 21, 2010 at 04:42:24PM -0700, Hassan Schroeder wrote: > I'd suggest using Firebug for a more realistic environment (sending > Accept headers, etc. with the request) but regardless --
> What version of Ruby and Mongrel are you using? Ruby is version 1.8.6 Rails is 2.3.5 However, this application was built long ago, probably with rails 1.2.3 and may be inheriting old behaviors. The only rails now installed on my server though is 2.3.5 The headers I get from my old application are as follows: (/u1/tom) cholla $ telnet localhost 8001 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.1 HTTP/1.1 200 OK Connection: close Date: Wed, 21 Jul 2010 23:50:52 GMT Content-Length: 1877 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ===================================================== However, when I set up a new fresh application via the following, I get the proper headers as you do: cd /u1/rails rails new cd new script/server (/u1/tom) cholla $ telnet localhost 3000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.1 HTTP/1.1 200 OK Connection: close Date: Wed, 21 Jul 2010 23:50:02 GMT Last-Modified: Wed, 21 Jul 2010 23:49:34 GMT Content-Type: text/html Content-Length: 7466 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

