parameters: (self)
docstring: Make any necessary header changes or defaults
  
          Subclasses can extend this to add other defaults.
docstring_summary: Make any necessary header changes or defaults
docstring_tokens: Make any necessary header changes or defaults
function: def cleanup_headers(self):
          """Make any necessary header changes or defaults
  
          Subclasses can extend this to add other defaults.
          """
          if 'Content-Length' not in self.headers:
              self.set_content_length()
function_tokens: def cleanup_headers ( self ) : if 'Content-Length' not in self . headers : self . set_content_length ( )