lib/reel/connection.rb
# Finish the response and reset the response state to header
Finish the response and reset the response state to header
Finish the response and reset the response state to header
def finish_response
      raise StateError, "not in body state" if @response_state != :chunked_body
      @socket << "0#{Response::CRLF * 2}"
      @response_state = :header
    end
def finish_response raise StateError , "not in body state" if @response_state != :chunked_body @socket << "0#{Response::CRLF * 2}" @response_state = :header end
Finish the response and reset the response state to header
Finish the response and reset the response state to header