# 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 @header.out.truncate(0) @body.close @body = StringIO.new end end