parameters: (self, name, default=None)
docstring: Returns the value of the header matching *name*.
  
          If there are multiple matching headers, the values are
          combined into a single string separated by commas and spaces.
  
          If no matching header is found, returns *default* or None if
          the *default* is not specified.
  
          If the headers are unknown, raises http.client.ResponseNotReady.
docstring_summary: Returns the value of the header matching *name*.
docstring_tokens: Returns the value of the header matching * name * .
function: def getheader(self, name, default=None):
          '''Returns the value of the header matching *name*.
  
          If there are multiple matching headers, the values are
          combined into a single string separated by commas and spaces.
  
          If no matching header is found, returns *default* or None if
          the *default* is not specified.
  
          If the headers are unknown, raises http.client.ResponseNotReady.
  
          '''
          if self.headers is None:
              raise ResponseNotReady()
          headers = self.headers.get_all(name) or default
          if isinstance(headers, str) or not hasattr(headers, '__iter__'):
              return headers
          else:
              return ', '.join(headers)
function_tokens: def getheader ( self , name , default = None ) : if self . headers is None : raise ResponseNotReady ( ) headers = self . headers . get_all ( name ) or default if isinstance ( headers , str ) or not hasattr ( headers , '__iter__' ) : return headers else : return ', ' . join ( headers )