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