'makeProducer when no Range header is set sets the responseCode on the
request to \'OK\'.'

def test_noRangeHeaderSets200OK(self):

    resource = self.makeResourceWithContent('')
    request = DummyRequest([])
    with resource.openForReading() as file:
        resource.makeProducer(request, file)
        self.assertEqual(http.OK, request.responseCode)
