# File lib/mongrel.rb, line 426
426:     def reset
427:       if @body_sent
428:         raise "You have already sent the request body."
429:       elsif @header_sent
430:         raise "You have already sent the request headers."
431:       else
432:         @header.out.truncate(0)
433:         @body.close
434:         @body = StringIO.new
435:       end
436:     end