This project is archived and is in readonly mode.

#3100 ✓resolved
Sam Ruby

Fetching a non-REST route using Net::HTTP fails

Reported by Sam Ruby | August 26th, 2009 @ 05:34 PM

With edge Rails (3.0.pre), the problem can be reproduced as follows

ruby script/generate controller store index rake db:migrate ruby script/server

Net::HTTP.get_response('localhost','/store',3000)

A complete script which does this is attached. Note: this doesn't just affect programmatic clients, it also will intermittently affect IE users:

http://intertwingly.net/blog/2007/08/23/Intermittent-IE-failures#c1...

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages