# File lib/evma_httpserver/response.rb, line 179 179: def send_trailer 180: send_headers unless @sent_headers 181: if @content 182: # no-op 183: elsif @chunks 184: unless @last_chunk_sent 185: chunk "" 186: send_chunks 187: end 188: elsif @multiparts 189: # in the lingo of RFC 2046/5.1.1, we're sending an "epilog" 190: # consisting of a blank line. I really don't know how that is 191: # supposed to interact with the case where we leave the connection 192: # open after transmitting the multipart response. 193: send_data "\r\n--#{@multipart_boundary}--\r\n\r\n" 194: else 195: # no-op 196: end 197: end