          headers = {}
          if getattr(exc, 'auth_header', None):
              headers['WWW-Authenticate'] = exc.auth_header
          if getattr(exc, 'wait', None):
              headers['X-Throttle-Wait-Seconds'] = '%d' % exc.wait
              headers['Retry-After'] = '%d' % exc.wait
  
          return Response({'detail': exc.detail},
                          status=exc.status_code,
                          headers=headers)
 
</s> remove         self.assertFalse('X-Throttle-Wait-Seconds' in response)
 </s> add  </s> remove         self.assertFalse('X-Throttle-Wait-Seconds' in response)
 </s> add  </s> remove                 self.assertEqual(response['X-Throttle-Wait-Seconds'], expect)
 </s> add  </s> remove         Ensure the response returns an X-Throttle field with status and next attributes
 </s> add         Ensure the response returns an Retry-After field with status and next attributes </s> remove                 self.assertFalse('X-Throttle-Wait-Seconds' in response)
 </s> add 
          headers = {}
          if getattr(exc, 'auth_header', None):
              headers['WWW-Authenticate'] = exc.auth_header
          if getattr(exc, 'wait', None):

              headers['Retry-After'] = '%d' % exc.wait
  
          return Response({'detail': exc.detail},
                          status=exc.status_code,
                          headers=headers)
keep keep keep keep replace keep keep keep keep keep
 Throttles now use Retry-After header and no longer support the custom style 
rest_framework/views.py