parameters: (self, value, domains=_default, max_age=_default,
                      path=_default, secure=_default, httponly=_default)
return_statement: return self._get_cookies(
              bstruct,
              domains=domains,
              max_age=max_age,
              path=path,
              secure=secure,
              httponly=httponly
              )
docstring: Retrieve raw headers for setting cookies.
  
          Returns a list of headers that should be set for the cookies to
          be correctly tracked.
docstring_summary: Retrieve raw headers for setting cookies.
docstring_tokens: Retrieve raw headers for setting cookies .
function: def get_headers(self, value, domains=_default, max_age=_default,
                      path=_default, secure=_default, httponly=_default):
          """ Retrieve raw headers for setting cookies.
  
          Returns a list of headers that should be set for the cookies to
          be correctly tracked.
          """
          if value is None:
              max_age = 0
              bstruct = None
          else:
              bstruct = self.serializer.dumps(value)
  
          return self._get_cookies(
              bstruct,
              domains=domains,
              max_age=max_age,
              path=path,
              secure=secure,
              httponly=httponly
              )
function_tokens: def get_headers ( self , value , domains = _default , max_age = _default , path = _default , secure = _default , httponly = _default ) : if value is None : max_age = 0 bstruct = None else : bstruct = self . serializer . dumps ( value ) return self . _get_cookies ( bstruct , domains = domains , max_age = max_age , path = path , secure = secure , httponly = httponly )