code: def add_cookie(self, key, value, **attrs):
          '''
          Finer control over cookies.  Allow specifying an Morsel arguments.
          '''
          if attrs:
              c = Morsel()
              c.set(key, value, **attrs)
              self.cookies[key] = c
          else:
              self.cookies[key] = valuf add_cookie(self, key, value, **attrs):
          '''
          Finer control over cookies.  Allow specifying an Morsel arguments.
          '''
          if attrs:
              c = Morsel()
              c.set(key, value, **attrs)
              self.cookies[key] = c
          else:
              self.cookies[key] = value
docs: Finer control over cookies.  Allow specifying an Morsel arguments.