lib/falcon/adapters/input.rb in falcon-0.30.0 vs lib/falcon/adapters/input.rb in falcon-0.31.0
- old
+ new
@@ -17,12 +17,10 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
require 'async/io/buffer'
-
-require 'async/http/body'
-require 'async/http/body/rewindable'
+require 'protocol/http/body/rewindable'
module Falcon
module Adapters
# The input stream is an IO-like object which contains the raw HTTP POST data. When applicable, its external encoding must be “ASCII-8BIT” and it must be opened in binary mode, for Ruby 1.9 compatibility. The input stream must respond to gets, each, read and rewind.
class Input