# File test/test_local.rb, line 686
    def test_GET_range_if_modified_since_206_Partial_Content
      mtime = File.mtime('test/index.html')
      mtime -= 1
      @request.method = 'GET'
      @request.path = '/index.html'
      @request.version = 'HTTP/1.1'
      @request.set_header('Range', 'bytes=7-')
      @request.set_header('If-Modified-Since', mtime.httpdate)
      @local_doc.publish('', @request, @response, self)
      assert_equal('/index.html', @messg_head.doc_path)
      assert_match(@messg_head.local_path, %"test/index\.html$")
      assert_equal('HTTP/1.1', @messg_head.version)
      assert_equal(206, @messg_head.status)
      assert_equal('Partial Content', @messg_head.reason)
      assert_equal('text/html', @messg_head.header('Content-Type'))
      assert_equal("bytes 7-#{HTML.length - 1}/#{HTML.length}", @messg_head.header('Content-Range'))
      assert_equal((HTML.length - 7).to_s, @messg_head.header('Content-Length'))
      assert_equal(HTML[7..-1], @messg_body)
      assert(@log_emerg.empty?)
      assert(@log_alert.empty?)
      assert(@log_crit.empty?)
      assert(@log_err.empty?)
      assert(@log_warning.empty?)
      assert(@log_notice.empty?)
      assert(@log_info.empty?)
      assert_match(@log_debug, /enter document: \S+::LocalFileDocument/)
    end