403
403
response.connection = connection
406
407
auth = requests_kerberos.HTTPKerberosAuth()
407
410
r = auth.handle_response(response)
409
412
self.assertTrue(response in r.history)
410
414
self.assertEqual(r, response_ok)
411
415
self.assertEqual(request.headers['Authorization'], 'Negotiate GSSRESPONSE')
412
416
connection.send.assert_called_with(request)