# File lib/evma_httpserver/response.rb, line 233
233:                 def send_chunks
234:                         send_headers unless @sent_headers
235:                         while chunk = @chunks.shift
236:                                 raise "last chunk already sent" if @last_chunk_sent
237:                                 text = chunk.is_a?(Hash) ? chunk[:text] : chunk.to_s
238:                                 send_data "#{format("%x", text.length).upcase}\r\n#{text}\r\n"
239:                                 @last_chunk_sent = true if text.length == 0
240:                         end
241:                 end