def test_notModifiedResponse(self):
        """
        If the response code is I{NOT MODIFIED} (304), no body is expected and
        the body callback is not invoked.
        """
        request = Request(b'GET', b'/', _boringHeaders, None)
        status = b'HTTP/1.1 304 NOT MODIFIED\r\n'
        response = b'\r\n'
        self._noBodyTest(request, status, response)

        If the response code is I{NOT MODIFIED} (304), no body is expected and
        the body callback is not invoked.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_newclient.py