':see: https://github.com/andresriancho/w3af/issues/3661'

def test_dump_response_head_3661(self):

    url = URL('http://w3af.com')
    headers = Headers([('Content-Type', '\xf3')])
    resp = HTTPResponse(200, '', headers, url, url)
    expected_dump = 'HTTP/1.1    200    OK\r\nContent-Type:    \xc3\xb3\r\n'
    self.assertEqual(resp.dump_response_head(), expected_dump)
