def test_setHeader_drops_LF(self):
     from ZPublisher.HTTPResponse import HTTPResponse
     response = HTTPResponse()
     response.setHeader('Location',
                        'http://www.ietf.org/rfc/\nrfc2616.txt')
     self.assertEqual(response.headers['location'],
                      'http://www.ietf.org/rfc/rfc2616.txt')