unixcharles/rack-iframe-transport — pull request #1 by saimonmoore (2012-10-19 15:03:39+00:00)
Title: Fix/sendfile by responding to method to path

This fixes XSendfile support. Reason:

Rack::Sendfile always checks wether the response responds_to?(:to_path) before any further processing.

Since rack-iframe-transport was replacing body with itself even if the request was not an iframe transport, this check was returning false.