spire-io/shred — Issue #13: socket hang up on 302 response
Author: wreimers
Created: 2011-12-21 01:54:41+00:00
State: open

When making a request to a Rails app, it responds with a 302, but shred bails with a "Request failed: socket hang up" error.

Adding a "request_error" handler doesn't trap the error.

If I call the Rails app directly, I get these headers:

X-Ua-Compatible	IE=Edge
Location	http://localhost:3000/auth/admin
Connection	Keep-Alive
Content-Type	text/html; charset=utf-8
Date	Wed, 21 Dec 2011 01:51:04 GMT
Server	WEBrick/1.3.1 (Ruby/1.8.7/2011-02-18)
X-Runtime	0.025210
Content-Length	98
Cache-Control	no-cache

Not sure where the problem is... I would think Shred would handle this as a redirect?