parameters: (self)
return_statement: return False
docstring: Should we redirect and where to?
  
          :returns: Truthy redirect location string if we got a redirect status
              code and valid location. ``None`` if redirect status and no
              location. ``False`` if not a redirect status code.
docstring_summary: Should we redirect and where to?
docstring_tokens: Should we redirect and where to?
function: def get_redirect_location(self):
          """
          Should we redirect and where to?
  
          :returns: Truthy redirect location string if we got a redirect status
              code and valid location. ``None`` if redirect status and no
              location. ``False`` if not a redirect status code.
          """
          if self.status in self.REDIRECT_STATUSES:
              return self.headers.get('location')
  
          return False
function_tokens: def get_redirect_location ( self ) : if self . status in self . REDIRECT_STATUSES : return self . headers . get ( 'location' ) return False