'The headers included in a response delivered to L{HTTP11ClientProtocol}
are included on the L{Response} instance passed to the callback
returned by the C{request} method.'

def test_receiveResponseHeaders(self):

    d = self.protocol.request(Request('GET', '/', _boringHeaders, None))
    def cbRequest(response):
        expected = Headers({'x-foo': ['bar', 'baz']})
        self.assertEqual(response.headers, expected)
    d.addCallback(cbRequest)
    self.protocol.dataReceived('HTTP/1.1    200    OK\r\nX-Foo:    bar\r\nX-Foo:    baz\r\n\r\n')
    return d
