# File lib/mongrel/http_response.rb, line 72 def reset if @body_sent raise "You have already sent the request body." elsif @header_sent raise "You have already sent the request headers." else # XXX Dubious ( http://mongrel.rubyforge.org/ticket/19 ) @header.out.close @header = HeaderOut.new(StringIO.new) @body.close @body = StringIO.new end end